module Perl6::Plan::Fall_2004;
As of Fall 2004, the plan for the compiler looked something like...
- The language specification comes from the Synopsis and Apocalypse documents.
- The Perl 6 grammar developed using Perl 6 rule syntax.
- A rules engine ("grammar engine") written for Parrot that would be able to process Perl 6 rules to build the parser.
- The rules engine and parser used to generate a "Parrot Abstract Syntax Tree" (PAST) representation of a Perl 6 source program.
- The PAST representation is analyzed and code is generated to one of the various Parrot sources (PIR, PASM).
- The resulting code can be compiled and run on the Parrot virtual machine, and saved to bytecode.