nornagon
6/25/2005 3:15:00 PM
On 6/21/05, Mark Probert <probertm@acm.org> wrote:
> Hi ..
>
> On Friday 17 June 2005 18:49, nornagon wrote:
> > Hiya. I've been looking all over for a decent ruby parser/lexer
> > generator, and when I found rockit, I thought my search was over.
> >
> Depends on what you mean by decent. There are a number of parser/lexers out
> there that do a reasonable job. If you mean the ruby equivalent of antlr,
> then you are, currently out of luck.
>
> Rockit needs some work for 1.8. Robert Feldt is the owner and I am not sure
> of what he is up to these days. Looks like an update is planned, but I have
> no idea of the when or where.
>
> There are some other options, though I am not sure they mean "decent":
>
> racc -- a YACC compiler-compiler
Yeah, I've looked at racc. It's the next-best thing to rockit, and
it's what I'll use until rockit gets a good cleanup.
>
> Two versions of Coco/R (LL-1 parser-scanner), one from Ryan Davis in pure
> Ruby and the other from me as a C extension (grammer and action in C,
> produces a Ruby extension).
At last count, neither of those worked on my setup (iirc)
> I am looking at updating my version to be an LL-k parser but that is a ways
> away yet.
>
> This doesn't really help with the Rockit question though ..
>
Thanks anyway; it's good to see a reply! :)
I did send Robert an email very similar to this one a while ago
(months), but I have yet received no reply. I wonder if I even sent it
to the right address...
--
- nornagon