Major refactor. Since Python is duck-typed the parser/impl split in the Java BulletML...
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Mon, 19 Apr 2010 08:15:59 +0000 (01:15 -0700)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Mon, 19 Apr 2010 08:15:59 +0000 (01:15 -0700)
commit3d98afa00a8befa0d8d94c1df2002ea3880bcca2
tree82ac2ea224988051e05fa8d9459775cd9d42cc81
parenta03368b26c6dc6228a6d5a9ff54fcaeec85072a3
Major refactor. Since Python is duck-typed the parser/impl split in the Java BulletML implementation only makes the code slow and awkward. Instead, have the 'parser' change the Action attributes, which results in no real loss of generality, and much more straightforward and faster code.
bulletml/impl.py
bulletml/parser.py