RubyGems Navigation menu

rubylexer 0.8.0

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. It should be able to correctly lex 99.9+% of legal ruby code.

Versions:

  1. 0.8.0 - May 20, 2016 (360 KB)
  2. 0.7.7 - January 3, 2010 (332 KB)
  3. 0.7.6 - July 6, 2009 (330 KB)
  4. 0.7.5 - May 23, 2009 (329 KB)
  5. 0.7.4 - May 22, 2009 (329 KB)
Show all versions (10 total)

Runtime Dependencies:

Authors:

  • Caleb Clausen

Owners:

A189186f516cf97e6172737bd4683bf6

SHA 256 checksum:

367326945eb404d089e5a3483974a1ba2df7a975bcb1dd79b7bae1f1e9c669dc

Total downloads 18,206

For this version 175

Gemfile:
= Copy to clipboard Copied!

install:
=

Licenses:

N/A

Required Ruby Version: >= 0

Links: