Categories: None [Edit]

rubylexer

https://rubygems.org/gems/rubylexer
https://github.com/coatl/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. It should be able to correctly lex 99.9+% of legal ruby code.

Total

Ranking: 32,891 of 187,960
Downloads: 38,834

Daily

Ranking: 67,069 of 187,950
Downloads: 5

Depended by

RankDownloadsName
47,02224,108redparse
135,7114,449pry-hack

Depends on

RankDownloadsName
48,31823,207sequence

Owners

#GravatarHandle
1iconcoatl