[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SableCC sources doc?
On Wed, 10 Jan 2001, Etienne M. Gagnon wrote:
> Hi Robert.
>
Hi Etienne and thanks for your very informative post,
> The implemented algorithms, to compute lexer/parser tables, are in in
> the "dragon book" (Compilers: Principles, Techchniques, and Tools by
> Aho, Sethi, and Ullman, ISBN 0-201-10088-6).
>
Aah, a classic! I can spot it on my shelf, but it looks a bit dusty. ;-)
> The main difficulty you'll have in reading the AST traversal stuff, is
> that SableCC 1.0 ASTs didn't have a nice naming scheme. Child nodes
> were numbered, e.g. node.getNode1(), getNode2(), etc.
>
I dont follow you here. I'm looking into SableCC 2.14.1 so if you've
updated the AST names that wouldn't be a problem, eh? I guess I've
misunderstood something.
> By the way, can you tell us a little about your plans?
>
I've been developing rular for some time now. It's similar to SableCC but
written in (the object-oriented scripting language,
www.ruby-lang.org) Ruby. rular is acronym for RUby framework for LAnguage
Recognition. To possibly enhance my system and compare it to SableCC I
want to take a look at the SableCC sources. Before "diving in" I wanted to
ask you guys so that I don't loose myself in there... ;-)
If/when I release rular I can post a note on this list, if you think its
appropriate.
Regards,
Robert