3 ms·
Yea, grammars looks simple-the-unique thing other languages don't have in 2015, 2016 and, I bet, 2017 too. Maybe even longer :)
by Woodi 11y ago
Yea, grammars looks simple-the-unique thing other languages don't have in 2015, 2016 and, I bet, 2017 too. Maybe even longer :)
- kamaal 11y agoThat's only at level 1, until you realize Perl 6 code is parsed by a grammar written in Perl 6. Its power is amplified by the part Perl 6 regexes are better than anything there is out there. Even better, this extends beyond ASCII and applies to Unicode too. And will work with other powerful control structures. I'd fix that date to something like 2027.
- draegtun 11y agoWhile Grammars as a language feature aren't mainstream (yet!) they're not a unique feature either. For eg. See the parse dialect which is a TDPL that comes with Rebol / Red - http://www.rebol.com/docs/core23/rebolcore-15.html http://www.rebol.com/docs/core23/rebolcore-15.html - https://en.wikibooks.org/wiki/REBOL_Programming/Language_Features/Parse/Parse_expressions https://en.wikibooks.org/wiki/REBOL_Programming/Language_Fea... - http://www.red-lang.org/2013/11/041-introducing-parse.html http://www.red-lang.org/2013/11/041-introducing-parse.html