[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Cardinal-dev] There Is No Wheel
From: |
Sean Chittenden |
Subject: |
Re: [Cardinal-dev] There Is No Wheel |
Date: |
Wed, 20 Nov 2002 16:41:06 -0800 |
User-agent: |
Mutt/1.4i |
> [snip]
> > > http://www.pragmaticprogrammer.com/ruby/downloads/files/nodeDump-0.1.7.tgz
> >
> > nodeDump prints out a representation of the internal parsetree for a Ruby
> > program, but as far as I can tell, it doesn't return an AST that can be
> > walked from within Ruby.
>
> I didn't like ruth's inspect method much for showing a tree, but I played
> around with adding a 'show' method to TreeNode, and formatting things a bit
> nicer. The ruth parser is the best so far; the parrot/languages/ruby one
> choked on '$0', for example (yep, I wrote a ruby script that parsed itself).
While the grammar may be slightly older, have you tried using ripper?
If so, I'm curious as to your reactions/thoughts. -sc
--
Sean Chittenden
- Re: [Cardinal-dev] Ping?!, (continued)
- Re: [Cardinal-dev] Ping?!, Erik Bågfors, 2002/11/13
- Re: [Cardinal-dev] Ping?!, Phil Tomson, 2002/11/14
- Re: [Cardinal-dev] Ping?!, Dan Sugalski, 2002/11/14
- [Cardinal-dev] There Is No Wheel, David Robins, 2002/11/14
- Re: [Cardinal-dev] There Is No Wheel, Phil Tomson, 2002/11/14
- Re: [Cardinal-dev] There Is No Wheel, Sean Chittenden, 2002/11/20
- Re: [Cardinal-dev] There Is No Wheel, Phil Tomson, 2002/11/20
- Re: [Cardinal-dev] There Is No Wheel, Sean Chittenden, 2002/11/20
- Re: [Cardinal-dev] There Is No Wheel, Phil Tomson, 2002/11/20
- Re: [Cardinal-dev] There Is No Wheel, David Robins, 2002/11/20
- Re: [Cardinal-dev] There Is No Wheel,
Sean Chittenden <=
- [Cardinal-dev] ripper 0.0.5, David Robins, 2002/11/20
- Re: [Cardinal-dev] Ping?!, Einar Karttunen, 2002/11/14
- Re: [Cardinal-dev] Ping?!, Leon Brocard, 2002/11/14
Re: [Cardinal-dev] Ping?!, Phil Tomson, 2002/11/12