Check out the pigeon book (the Victoria Crowned Pigeon to be exact):
http://www.oreilly.com/catalog/lex/

Yes, it's YAAB (yet another animal book)! ;-)


Jason DiCioccio wrote:
> This might be slightly off topic, but the conversation has sparked an interest
> in me once again..  Can anyone recommend a good book on yacc/lex?  Or even a
> brief description to start?
> 
> Regards,
> -JD-
> 
> On Wed, Aug 29, 2001 at 10:35:03AM +0900, markus liedl wrote:
> 
>>Dat Nguyen wrote:
>>
>>>Is there anything you can do with YACC & lex but can't with Ruby?
>>>
>>probably you mean Ruby + racc
>>
>>I started translating parse.y to a racc format to build a RubyInRuby
>>parser.
>>
>>The only annoying issue was how to get the stack with the still
>>successfully parsed states out of it if an syntax error happens.
>>
>>But, can you do that with yacc?
>>
>>markus
>>
>>
> 



-- 
Wai-Sun "Squidster" Chia
RHCE/Professional Services
Linux/Unix/Web Developer