From: Caleb Clausen Date: 2008-09-06T03:09:55+09:00 Subject: Re: rubylexer 0.7.1 Released On 9/2/08, Roger Pack wrote: >> RubyLexer is a lexer library for Ruby, written in Ruby. Rubylexer is >> meant >> as a lexer for Ruby that's complete and correct; all legal Ruby > > What's its relationship to ruby_parser and racc? > Thanks! Sorry for the late reply. Racc is a ruby-based compiler compiler. As far as I know, it's a variant of yacc; but using ruby in actions and generated code instead of c. Ruby_parser is a parser for ruby written in racc/ruby. Ruby_parser is a port of the yacc/c code used to parse ruby in MRI. It has it's own lexer, a port of the MRI c lexer. There is no dependency between them. The two libraries are trying to accomplish similar goals, but RubyParser doesn't take the process quite as far.