3 ms·
It's pretty much exactly what Perl 6 / Raku grammars are: https://docs.raku.org/language/grammars https://docs.raku.org/language/grammars
by dgl 4y ago
It's pretty much exactly what Perl 6 / Raku grammars are: https://docs.raku.org/language/grammars https://docs.raku.org/language/grammars
- smegsicle 4y agoi can't find it now, but i think there was a larry wall quip along the lines of, "from all the concepts to borrow from perl, why did python take regex?"
- arnsholt 4y agoIt looks similar, but the semantics are quite different. A Raku grammar is a recursive deacent parser, but this is still a regular expression in the end.