Re:Pattern Matching Without Regex – Introducing the Rosie Pa...
by yAak on Wednesday November 14, 2018 @02:18PM
(#18452934)
For the sake of discussion, here's what the author says: http://rosie-lang.org/blog/2018/02/25/why-rpl.html#why-not-u...
I guess pest is comparable then, but wasn't mature when the author started work on Rosie?
(I'd be curious for a proper comparison, but I'm not really knowledgeable in this area -- I had no idea there were so many alternatives to regex: https://en.wikipedia.org/wiki/Comparison_of_parser_generator...)
Re:Pattern Matching Without Regex – Introducing the Rosie Pa...
by gabiruh on Wednesday November 14, 2018 @12:09PM
(#18451468)
Yeah.. that got me thinking too. I would not have called it "new".
As of version 5.10, Perl regex engine implements a complete recursive-descent parsing. Allowing things like Regexp::Grammars[0] to exist. Perl also has a nice PEG parser framework called Pegex[1]
-- [0] - https://metacpan.org/pod/Regexp::Grammars [1] - https://metacpan.org/pod/Pegex
What separates this from tools like PEG.js[1] or pest[2]?
[1]: https://pegjs.org/ [2]: https://github.com/pest-parser/pest