Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

autrijus (1505)

  (email not shown publicly)

Journal of autrijus (1505)

Friday February 04, 2005
07:19 AM

Day 4: Parsec; 90% of operators implemented!

[ #23016 ]
On day 4 of Pugs, it turns out Perl6 really requires a monadic parser combinator that can lex and parse in a single pass, and able to switch parts of the grammar at middle of a lexeme stream. Fortunately, Parsec is exactly such a monster, so I'll probably stick with it. :-)

In other news, I'm finishing up user-defined Sub/Block expressions right now, so hopefully Pugs will reach turing completeness tonight.

Update: Turns out I got sidetracked into implementing the primitive operators -- currently covering 90% from the operator table. That means we can parse and evaluate most of simple expressions in perl6 now. Yay!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.