[Purdue-pm] simple introduction to Perl 6 grammars

Mark Senn mark at purdue.edu
Mon Feb 19 04:57:19 PST 2018


If you want to learn about the Perl 6 grammar feature I suggest you
start with the below article.  It won't give you enough information to
do anything other than check if some input is legal but is much easier
to understand than other articles that try to explain too much at one
time.

See
    https://www.perl.com/article/perl-6-grammers-part-1/
for a simple introduction to Perl grammars that checks if a string is a
legal number.  This is a tutorial article that doesn't show how to have
grmmars contain actions, only check input to see if it is legal.

Perl 6 uses a ~5,000 line Perl 6 grammar to run Perl 6 programs.

-mark

NOTE TO SELF:
.tags
    grammar
    Perl
    Perl 6
    Perl 6 grammar
    Andrew Shitov
.etags


More information about the Purdue-pm mailing list