develooper Front page | perl.bootstrap | Postings from July 2000

Re: LALR (was Re: Working Group Proposal)

From:
Chip Salzenberg
Date:
July 24, 2000 16:30
Subject:
Re: LALR (was Re: Working Group Proposal)
Message ID:
20000724160948.G6255@perlsupport.com
According to Dan Sugalski:
> Might as well go all the way, then--separate out the lexer/parser,
> the bit that turns the parsed syntax into an optree, the optimizer,
> and the backend that actually executes perl. Which, thinking about
> it, isn't that bad an idea [...]

This isn't new.  It's pretty much pluggable right now in Perl 5 --
just make an XS that does what toke.c and perly.y do, maybe create a
hook for yyparse, and you're off.

The fact that people haven't used this opportunity may tell us
something.  Or maybe not.
-- 
Chip Salzenberg              - a.k.a. -              <chip@valinux.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About