Help for this page

Select Code to Download


  1. or download this
    Autrijus: Actually, I think Pugs and Parrot will meet in the middle. W
    +here Pugs AST meets Parrot AST and the compiler is written in Perl 6 
    +that can then be run on Parrot.
    
    ...
    chromatic: It's easy for me. I don't plan to do it.
    
    Autrijus: The easier plan is simply for Pugs to have a Compile.hs that
    + emits Parrot AST. Which, I'm happy to discover yesterday, is painles
    +s to write. (Ingy and I did a KwidAST->HtmlAST compiler in an hour, t
    +ogether with parser and AST.)
    
  2. or download this
    chromatic: Are you compiling it to native code now? I remember that be
    +ing a suggestion a few days ago.
    
    ...
    chromatic: Except maintainable.
    
    Autrijus: And yeah, there's the maintainable bit. Pugs is <4k lines of
    + code. I think porting Pugs to Perl 6 will take about the same number
    + of lines, too.