[% setvar title A parser is a many-layered thing %]
To see what is currently happening visit http://www.perl6.org/
A parser is a many-layered thing
Maintainer: Simon Cozens <firstname.lastname@example.org> Date: 25 Sep 2000 Mailing List: email@example.com Number: 314 Version: 1 Status: Developing
The Perl 6 parser will be made up of a C core, a bytecode layer hooking into that, and a user-defined layer looking into that.
There's been discussion about how to make Perl 6's parser fast, easy to write, extensible, and, of course, cool.
The winning suggestion so far about how to do this would be to implement a near-complete parser in C. This would power miniperl's replacement, which should be able to parse enough of the less esoteric features of Perl 6 to read in and compile a set of extensions to the parser written in Perl, covering the more esoteric stuff. This byte-compiled parser would be compiled into the full perl interpreter along with the C core. It's expected that over time, the Perl layer should be converted to C.
This should give you the full syntax of Perl 6; naturally, we now need to allow hard-core lunatics to extend that. We do this by providing hooks from the compiled layer, allowing people to write Perl, C or whatever other extension code to hook into this.
[ Fill in more details here as the parsing process firms up ]
Trivial, I believe.