Module: Rlex

Defined in:
lib/rlex.rb,
lib/rlex/lexer.rb,
lib/rlex/token.rb,
lib/rlex/version.rb

Overview

Implements a simple lexer using a StringScanner.

Author:

Defined Under Namespace

Classes: Lexer, Token

Constant Summary collapse

EOF_TOKEN =

Special token used when the lexer has reached the end of the specified input.

Token.new :eof, "", -1, -1
VERSION =

Project version

"0.6.0"