From: Rick DeNatale Date: 2009-11-30T00:46:54+09:00 Subject: Re: ruby language parser in ruby On Sun, Nov 29, 2009 at 7:17 AM, Ryan Davis wrote: > > On Nov 29, 2009, at 03:23 , Brian Candler wrote: > >> I'm looking for a ruby language parser written in ruby, that I can hack >> to play about with generating other ruby-like languages. >> >> I've found RubyParser. Are there any other options I should be looking >> at? >> >> * I see ruby 1.9 has ripper, but it's written as a C extension. I want >> something in pure ruby. > > well to be fair. ripper is yacc + C. ruby_parser is racc + ruby. Until someone writes a recursive descent parser, you'll never have PURE ruby (and it wouldn't be quite as maintainable). I'm actually working on that, but I don't yet know if I'll succeed. That would be cool if it's possible. Old Smaltalkers love to see recursive descent parsers written in the target language! -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale