Netscape Bookmark Lexer/Parser experiment using Hoa\Compiler
This project aims at rewriting the Netscape Bookmark Parser used by Shaarli to import bookmarks from other services, using a proper grammar instead of tedious file sanitizing and linear parsing.
See shaarli/netscape-bookmark-parser#41
Documentation:
Hoa\Compiler
PP grammars:
- https://github.com/hoaproject/Json/blob/master/Grammar.pp
- https://github.com/hoaproject/Math/blob/master/Arithmetic.pp
- https://github.com/hoaproject/Ruler/blob/master/Grammar.pp
PCRE:
- https://stackoverflow.com/questions/6804951/regex-to-remove-comments-in-xml-file-in-eclipse-java
- https://superuser.com/questions/1153239/regex-to-match-xml-comments
- https://stackoverflow.com/questions/20320719/constructing-regex-pattern-to-match-sentence
- https://stackoverflow.com/questions/3973602/regex-match-any-punctuation-character-except-and
- https://secure.php.net/manual/en/book.pcre.php