From: Roger Pack Date: 2008-10-08T14:18:12+09:00 Subject: Re: rubylexer 0.7.1 Released Caleb Clausen wrote: > rubylexer version 0.7.1 has been released! > 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 Looks like it works with 1.8 [though not 1.9] Here's a working example [the docs' is a little off] lexer=RubyLexer.new(nil, ‘1+1′); until RubyLexer::EoiToken===(token=lexer.get1token) do; print token, ‘ ‘; end Thanks! -=R -- Posted via http://www.ruby-forum.com/.