in reply to Perl 6 and traditional compilers

Perl 6 allows you to change the language's grammar, and those changes take place within a lexical scope. To make that work, you have to be able to modify the grammar as parsing takes place.

This is not trivial.

Replies are listed 'Best First'.
Re^2: Perl 6 and traditional compilers
by morgon (Priest) on Jul 28, 2010 at 19:59 UTC
    Ah, interesting.

    Will this be covered in the Perl 6 book (it is not in the version I have downloaded recently) or could you point me to some other documentation on how this works (from a usage point of view, not the implemenation details).

      Will this be covered in the Perl 6 book

      No, the book focuses on using Perl 6, not on the trickiness of implementing it.

      or could you point me to some other documentation on how this works

      For example S06 talks about operator overloading and defining new operators, S13 does that too.

      Perl 6 - links to (nearly) everything that is Perl 6.