redparse version 0.8.3 has been released!
RedParse is a ruby parser written in pure ruby. Instead of YACC or
ANTLR, it’s parse tool is a home-brewed “compiler-interpreter”. (The
tool is LALR(1)-equivalent and the ‘parse language’ is pretty nice,
even in it’s current crude form.)
Changes:
0.8.3 / 2009-07-01
-
7 Minor Enhancements:
-
most nodes now have startline, endline, and offset
-
Node.[] is more fun to use now (most attributes can be left off)
-
a SequenceNode inserted into a SequenceNode now gets inlined
-
new ListInNode module for the various vanilla arrays found in node
trees -
HashLiteralNode#get; retrieve values from hash literal kinda like
from a hash -
Nodes can be catenated with the + operator now
-
Symbols inserted into a tree are converted to CallSiteNodes
-
-
2 Bugfixes:
-
more faithful ParseTree emulation in a couple of cases
-
minor fixes in node processing for some rare conditions
-