hammer/src
Meredith L. Patterson 4330a426e9 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-19 19:11:31 -06:00
..
backends commenting out assert for debugging purposes 2013-11-19 12:37:30 -06:00
bindings Finished writing unit tests. Fixed a few small bugs in hammer.py. Further issues: 2013-11-19 19:11:31 -06:00
parsers Working python bindings 2013-11-19 19:11:30 -06:00
allocator.c remove the extra +1 from h_arena_malloc 2013-06-15 16:04:29 +02:00
allocator.h Added regex backend, does not compile 2013-01-13 17:01:10 +01:00
benchmark.c Ditch longs and long longs in favor of stdint.h types, which has cascading 2013-11-15 00:12:57 -05:00
bitreader.c Ditch longs and long longs in favor of stdint.h types, which has cascading 2013-11-15 00:12:57 -05:00
bitwriter.c Ditch longs and long longs in favor of stdint.h types, which has cascading 2013-11-15 00:12:57 -05:00
cfgrammar.c use lookahead stream directly for LR (terminal) lookup 2013-06-21 23:22:07 +02:00
cfgrammar.h use lookahead stream directly for LR (terminal) lookup 2013-06-21 23:22:07 +02:00
datastructures.c Added new build system 2013-07-10 21:32:05 +02:00
desugar.c Added new build system 2013-07-10 21:32:05 +02:00
glue.c Refactored all of the desugaring code to no longer depend on memory being initialized to 0. Everything is about 12% faster now. 2013-05-25 03:35:42 +02:00
glue.h Fixed clang implicit type cast warning 2013-07-11 23:44:28 +02:00
hammer.c We declared some functions that were never implemented. Implement them. 2013-11-19 19:11:30 -06:00
hammer.cxx Many apparently requires a template specialization. This is absurd, but whatever. I'll ask stackoverflow. 2013-08-11 01:13:07 +02:00
hammer.h We declared some functions that were never implemented. Implement them. 2013-11-19 19:11:30 -06:00
hammer.hxx Revert "C++ tests set up. They probably don't compile; need to write iostream ops for prettyprinting and set up C++ build in scons." Should have branched it. 2013-09-03 05:33:30 +02:00
internal.h Ditch longs and long longs in favor of stdint.h types, which has cascading 2013-11-15 00:12:57 -05:00
Makefile add stub GLR backend with h_glr_parse() a copy of h_lr_parse() 2013-06-19 17:20:53 +02:00
pprint.c Merge pull request #42 from thequux/standalone-test-suite 2013-11-01 10:28:11 -07:00
SConscript Added install target 2013-10-29 17:35:37 -04:00
system_allocator.c Refactored all of the desugaring code to no longer depend on memory being initialized to 0. Everything is about 12% faster now. 2013-05-25 03:35:42 +02:00
t_benchmark.c Finshed up the regex backend 2013-04-26 20:36:54 -07:00
t_bitreader.c Ditch longs and long longs in favor of stdint.h types, which has cascading 2013-11-15 00:12:57 -05:00
t_bitwriter.c Ditch longs and long longs in favor of stdint.h types, which has cascading 2013-11-15 00:12:57 -05:00
t_grammar.c All tests pass; lots of stuff is no longer const 2013-05-24 15:07:47 +02:00
t_misc.c Ditch longs and long longs in favor of stdint.h types, which has cascading 2013-11-15 00:12:57 -05:00
t_parser.c Rewrote test_leftrec to mirror test_rightrec. It fails differently for packrat now! 2013-11-19 03:31:59 -06:00
test_suite.c Revert "C++ tests set up. They probably don't compile; need to write iostream ops for prettyprinting and set up C++ build in scons." Should have branched it. 2013-09-03 05:33:30 +02:00
test_suite.h Ditch longs and long longs in favor of stdint.h types, which has cascading 2013-11-15 00:12:57 -05:00