rexical version 1.0.3 has been released!
Rexical is a lexical scanner generator.
It is written in Ruby itself, and generates Ruby program.
It is designed for use with Racc.
SYNOPSIS
Here is a sample lexical definition:
class Sample
macro
BLANK [\ \t]+
rule
BLANK # no action
\d+ { [:digit, text.to_i] }
\w+ { [:word, text] }
\n
. { [text, text] }
end
Changes:
1.0.3
-
Bug fixes
- renamed to “Rexical” because someone already has “rex”.
- Fixed nested macros so that backslashes will work