[ANN] rubylexer 0.7.6 Released

C

Caleb Clausen

rubylexer version 0.7.6 has been released!



* <http://github.com/coatl/rubylexer/>

* <http://rubyforge.org/projects/rubylexer/>



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

code should be lexed correctly by RubyLexer as well. Just enough parsing

capability is included to give RubyLexer enough context to tokenize correctly

in all cases. (This turned out to be more parsing than I had thought or

wanted to take on at first.) RubyLexer handles the hard things like

complicated strings, the ambiguous nature of some punctuation characters and

keywords in ruby, and distinguishing methods and local variables.







Changes:



### 0.7.6/7-01-2009

* 5 Bugfixes:

* don't treat <, <=, <=> as starting variables (only << for here header)

* space between break/return/next and following open paren is ignored

* fixed unusual whitespace is unlikely places (module header)

* some parentheses weren't being decorated right

* rescue should not end implicit parameter lists... unless its an op



* 3 new ruby 1.9 features:

* stabby blocks

* dot at beginning of line

* !, !=, !~ are now valid method/symbol names



* <http://github.com/coatl/rubylexer/>

* <http://rubyforge.org/projects/rubylexer/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top