Commit graph

5 commits

Author SHA1 Message Date
Meredith L. Patterson
c9c282dcb4 Finished writing unit tests. Fixed a few small bugs in hammer.py. Further issues:
* "in_" and "not_in" should coerce their results to strings (i.e., chr(result))
 * TestLeftrec: success case 2 fails
 * TestChRange: success case segfaults
 * TestWhitespaceEnd: success case segfaults
 * TestAction: success case segfaults with "corrupted double-linked list"
 * TestButNotRange: segfaults, probably because of whatever's wrong with ch_range
 * TestXor: segfaults; failure case craps out with "malloc(): smallbin double linked list corrupted"
2013-11-14 15:50:58 +01:00
Dan Hirsch
06aa19e206 Added a few tests 2013-11-12 19:07:32 -06:00
Dan Hirsch
390bbd32f1 Added auto-construction, tidied h_ch a bit 2013-11-08 17:20:00 -05:00
Dan Hirsch
8928c04456 Working python bindings 2013-11-07 22:34:27 -05:00
Dan Hirsch
f8604f5c76 Add CFFI python bindings 2013-11-01 18:01:44 -04:00