~oubiwann/graph-lisp/trunk

Viewing all changes in revision 92.

  • Committer: Duncan McGreggor
  • Date: 2009-12-27 06:38:01 UTC
  • Revision ID: duncan@canonical.com-20091227063801-2208xtouuzx72h67
* Removed unnecessary operator classes.
* Removed old interpreter code and associated unit tests.
* Added LispEvaluator class.
* Added NullSExp class so that we can handle empty string s-expressions, even
though they're not level in the grammar (and will throw an exception).
* Added missing exception handling around the grammar parser in the Lisp
parser.
* Split out the numerical operation for the lisp parser test case and put them
in a new test case that utilizes the new Lisp parser.
* Added an evaluation error exception class as well as a try/except block
around the operator evaluation.
* Added a getGExp method to the Lisp parser that walks the s-expression and
gets a graph for it.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: