3 ms·
Perl 6 Grammars, Part 1
- hestefisk 4y agoThis is quite cool. A shame Perl 6 never became a big success.
- lizmat 4y agoIndeed. Perl 6 got renamed to the Raku Programming Language (https://raku.org https://raku.org #rakulang) and continues to work on a 100 year programming language. If you want to stay up-to-date on developments, you can check out the Rakudo Weekly News https://rakudoweekly.blog https://rakudoweekly.blog
- unixhero 4y agoThe author of this post also has a bunch of his books on Prrl6 shared by himself on GitHub: https://andrewshitov.com/2020/01/29/my-open-perl-6-and-raku-books/ https://andrewshitov.com/2020/01/29/my-open-perl-6-and-raku-...
- mdaniel 4y ago> Here, the square brackets group together the two alternatives: '+' | '-' I'm sure there's some utterly fascinating reason why they threw the decades old grouping syntax of "('+' | '-')" in the trash, thus creating the uncanny valley of grammar syntaxes :-(
- db48x 4y agoThey didn’t. Parentheses both group and capture, while square brackets just group without capturing. https://docs.raku.org/language/regexes#Grouping_and_capturing https://docs.raku.org/language/regexes#Grouping_and_capturin...