From: James Gray Date: 2009-04-14T02:47:38+09:00 Subject: Re: Using ruby for generic language parsing (or any language-specific parsing libraries out there?) On Apr 13, 2009, at 12:17 PM, Aaron Patterson wrote: > I've been using rex and racc for quite a while, and I'm pretty happy > with both of them. I've found racc to be quite good in combination > with > existing Yacc grammars. I've written a pure ruby JavaScript parser[1] > and CSS parser[2][3] using racc. I started on a C parser, but > decided it wasn't worth my time because I didn't want to deal with > preprocessor > statements and we already have CAST[4]. Other non-trivial racc > usage is > Ryan Davis's ruby parser[5] which is a ruby parser written with racc. I appreciate all of these great example to look over. Does anyone know of a good racc tutorial though? I've seen the very basic calculator examples, but I've had trouble finding better references. James Edward Gray II