Day 2: Featherweight Perl6.

autrijus on 2005-02-02T15:45:02

So on day 2 of Pugs, while trying to get a reasonable idea of what the parser will be like, and simplify the evaluator as much as possible, it occurs to me that I should reduce perl6 into a "pure", assignment-free sublanguage. I name it Featherweight Perl6, after the Featherweight Java sublanguage discussed in TaPL.

Also I transcribed some code from Haskell's canonical tutorial to FP6, to get a better intuition before I attempt defining any semantics. Now I should check their (very doubtful) validity with perl6-language...