Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Perl 6 standard grammar
tree: 920c0b2d9d

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
boot
lib
sprixel
std_hilite
vill
.gitignore
Actions.pm
CORE.pad
CORE.setting
Cursor.pm6
CursorBase.pm6
CursorBase.pmc
DEBUG.pmc
DumpMatch.pm
LazyMap.pm
Makefile
NAME.pmc
NULL.pad
README
RE_ast.pmc
STD.pm
STD.pm6
STD5_dump_match
STD_P5.pm6
Stash.pmc
ToJS.pm
cleanlex.pl
mangle.pl
reds
redspans
setting
show_changed_vars
sprixel.mk
sprixel.pl
sprixelCORE.setting
std
teststd
tlong
tloop
try5
try5_post
tryfile
tryfoo
viv

README

=head1 Perl 6 Parser Stuff in the Pugs Repo

This is a start of some notes about what's going on in this magical
directory of pugs/src/perl6.  It is the home of STD.pm, the canonical
Perl 6 grammar, which is written in Perl 6, setting us all a typical
chicken-or-egg bootstrapping challenge.  So Larry has devised a cunning
Perl 6 to Perl 5 translator for just this job, called "gimme5".  Running
C<make> tells gimme5 to convert STD.pm into a Perl 5 script called
"viv".

Using "viv" with the -e option will output an Abstract Syntax Tree for
your input program.  The AST is in YAML format.

=head1 Prerequisites

You'll need the following Perl bits to run stuff:

* Perl 5.10.0 in /usr/local/bin/ 
  (using current perl with eg `sudo ln -s /usr/bin/perl /usr/local/bin`)

* YAML::XS       (eg sudo apt-get install libyaml-libyaml-perl)

* Moose          (eg sudo apt-get install libmoose-perl)

=head1 Running Stuff

You can get started by using the following Makefile commands:

 make
 make all
 make check
 make try
 make try cat
 make clean
 make distclean
 make help

Something went wrong with that request. Please try again.