On Tue, Jul 29, 2003 at 11:18:18AM +0900, Mike Williams wrote:
> 'racc' is pretty stable, I think.  'rockit' is newer, but includes
> automatic AST support.
> 
>     racc	http://raa.ruby-lang.org/list.rhtml?name=racc
>     rockit	http://raa.ruby-lang.org/list.rhtml?name=rockit

Last time I used rockit (a couple months ago), it just didn't make it
for me. The parser was behaving very strangely, it didn't seem to match
my grammar (I spent a few hours checking it by verifying the tokens and
following the state transitions...).

Having the AST built automatically is nice, but it's fairly easy to make
it in the action sections of racc anyway (although rockit's is nicer since
it has array-like structures instead of recursive things), and I solved
all my problems (without changing the grammar) in a breeze when I switched
to racc.

-- 
 _           _                             
| |__   __ _| |_ ___ _ __ ___   __ _ _ __  
| '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ 
| |_) | (_| | |_\__ \ | | | | | (_| | | | |
|_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
	Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

I did this 'cause Linux gives me a woody.  It doesn't generate revenue.
	-- Dave '-ddt->` Taylor, announcing DOOM for Linux