README.rdoc

Exalted Math Parser

This is a very simple project both to teach myself to use Treetop, and to
implement simple (or not so simple) parsing of mathematics for Exalted
character sheets. Although I'm sure it could be used for other simple
math situations. It consists of two parts; parser and abstract syntax tree.
The parser constructs the abstract syntax tree as it parses the input
string. The AST can then be used to compute the value of the expression
with a given context. The AST also has a simple method to simplify it if
possible. The AST is based on an array class, which makes it very easy to
serialize.