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: 33,816 of 193,767
Downloads: 39,956

Daily

Ranking: 33,089 of 193,752
Downloads: 4

Depended by

RankDownloadsName
48,09224,877redparse
136,2414,682pry-hack

Depends on

RankDownloadsName
49,50323,897sequence

Owners

#GravatarHandle
1iconcoatl