Martin Coxall wrote: > On 1 Oct 2006, at 11:40, M. Edward (Ed) Borasky wrote: > > ... > > Well, C is not a great language for writing parsers in, and in my > experience neither is Java. The best language I've seen for writing > language parsers is Haskell. Though Racc does a competent job. I > don't think it's antlr, though. > > Martin A nice example of a pure succinct Ruby parser is Dennis Ranke's recursive descent parser written for his solution to the Dice Roller Ruby Quiz http://www.rubyquiz.com/quiz61.html And yet another language parser (for C) is http://cil.sourceforge.net/ Just my two cents! Cheers, verno -- Posted via http://www.ruby-forum.com/.