3 ms·
You can write grammars in pure Perl5 regex but it can get a bit fugly :) Here's a (very) simple example I did in Perl5 - https://news.ycombinator.com/item?id=6
by draegtun 10y ago
You can write grammars in pure Perl5 regex but it can get a bit fugly :)
Here's a (very) simple example I did in Perl5 - https://news.ycombinator.com/item?id=6895126 https://news.ycombinator.com/item?id=6895126
And here's a (nicer!) port to Rebol I also did - https://www.reddit.com/r/programming/comments/1smpa1/why_rebol_red_and_the_parse_dialect_are_cool/ce035cv/ https://www.reddit.com/r/programming/comments/1smpa1/why_reb...
- throwaway7645 10y agoThank you!