If it's a contest of Marpa vs. regular expressions, I'm only surprised that > it is just 3x. If your grammar parses using regular expressions, regular > expressions will always be much faster. >
Actually this is not only regular expressions -- I've had to built a bunch of functions that do the same what rules in grammars do -- organize structured data. A while ago I wrote a post with a section on "When NOT to use Marpa". > There were 4 cases and grammars that are regular expressions were the 1st > one: > http://jeffreykegler.github.io/Ocean-of-Awareness-blog/individual/2015/08/fast_handy.html > Thanks for hit. I will read this. > ... your grammar that it was part of a larger one... with Marpa is that > you can extend the grammar much more easily > I am delighted that parsing got that simple with such solutions as your's Marpa or Perl6 grammars -- yacc and lex always looked avery wild for me. Thank you, greetings from Poland. :) -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
