(1) Problems: o parsing quoted strings
Did you see http://savage.net.au/Ron/html/Conditional.preservation.of.whitespace.html And there is code in: https://metacpan.org/pod/MarpaX::Demo::StringParser And in: https://metacpan.org/pod/GraphViz2::Marpa o syntax of SLIF (the regexy part) You need to post sample code on github's gist site, or pastebin, and ask here or on the irc channel for help. o semantics of latm Put simply means given a choice of tokens, Marpa will take the longest /if told to with latm => 1/. So given input of 'anagram', then 'a', 'an' and 'anagram' all match /^a.+/. But I'll bet you invariably want the full word, and that's what Marpa will give you. (2) Did you see these: https://stackoverflow.com/questions/18518499/parsing-serialized-php-data-with-bnf-using-instaparse#18541555 http://www.phpclasses.org/package/7142-PHP-Parse-language-source-with-a-BNF-grammar-syntax.html + whatever else a google throws up. What are they like? I have no idea. I might investigate them, but I wouldn't expect to adopt them. -- You received this message because you are subscribed to the Google Groups "marpa parser" group. To unsubscribe from this group and stop receiving emails from it, send an email to marpa-parser+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.