3 ms·
> can someone point to the analog of this https://docs.perl6.org/language/grammars https://docs.perl6.org/language/grammars in Python, Ruby, Groovy etc? Those
by vorg 9y ago
> can someone point to the analog of this https://docs.perl6.org/language/grammars https://docs.perl6.org/language/grammars in Python, Ruby, Groovy etc?
Those language grammars, if they've been properly implemented, could be the Perl 6 killer feature if well promoted. It could even lead to a sudden fall in brogrammers using regexes to parse html.
Looking at the ranking of those languages you mentioned on Tiobe, i.e. Python (4.7%), Ruby (2.4%) and Apache Groovy (0.3%), I guess if Python 3 took the initiative and implemented them, that would work as well.