Created by Duncan McGreggor and last modified
Get this branch:
bzr branch lp:graph-lisp
Only Duncan McGreggor can upload to this branch. If you are Duncan McGreggor please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Duncan McGreggor

Recent revisions

99. By Duncan McGreggor

* Updated the lisp parser unit tests to include the new grammar cases.
* Updated TODO.

98. By Duncan McGreggor

* Added more edge cases to the grammar unit tests.

97. By Duncan McGreggor


* Renamed the LispParser getStringCount method to getStringLength.

96. By Duncan McGreggor


* Reimplemented the GrapEvaluator code.

95. By Duncan McGreggor

* Changed the is_function Tree method to has_children, since that's what really
being checked and it would be better to explicitly state which symbol objects
are expected to have children.
* Renamed has_function_children to the more understandable has_grandchildren.

94. By Duncan McGreggor

* Removed vertex class.

93. By Duncan McGreggor


* Removed old interpreter.
* Removed gexp module.
* Cleaned up unit tests some more.

92. By Duncan McGreggor

* 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
* 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.

91. By Duncan McGreggor

* Updated the dialect to use the new OperatorObject.
* Implemented some OperatorObject methods.
* Updated GrapEvaluator._eval to use the newly added eval method of the
operator object.

90. By Duncan McGreggor

* Removed GrapParser and related unit tests.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.