Commit graph

432 commits

Author SHA1 Message Date
Dan Hirsch
1fa209bdb7 Added test harness for bitwriter 2012-07-27 15:47:38 -07:00
Meredith L. Patterson
f62aa10896 Stubbed out bitwriter tests. 2012-07-27 15:37:48 -07:00
Meredith L. Patterson
b4514eb207 and a semicolon fix 2012-07-27 15:30:17 -07:00
Dan Hirsch
4c3a5c9e4e Derp. Compile error. 2012-07-27 15:30:16 -07:00
Meredith L. Patterson
ee32c75837 Pulling more bitwriter changes 2012-07-27 15:29:25 -07:00
Dan Hirsch
68e78fd4b8 Finished bitwriter implementation 2012-07-27 15:28:55 -07:00
Meredith L. Patterson
b698e02b0c Merge bitwriter 2012-07-27 15:27:36 -07:00
Dan Hirsch
1b9314e73e Added bitwriter framework 2012-07-27 15:24:35 -07:00
Meredith L. Patterson
fa093d3b06 Added h_parse_result_free(). 2012-07-27 15:06:40 -07:00
Sven M. Hallberg
90d55139e2 Merge branch 'h_action_fail' 2012-06-09 14:42:48 +02:00
Sven M. Hallberg
10154622b8 call actions only on successful parse 2012-06-09 14:41:32 +02:00
Sven M. Hallberg
d57558bf13 Merge branch 'ignoreseq' 2012-06-02 17:32:28 +02:00
Sven M. Hallberg
7724ff9e6f add h_left, h_right, h_middle combinators 2012-06-02 17:31:06 +02:00
Sven M. Hallberg
9bc9342cb3 Merge remote-tracking branch 'upstream/master' 2012-06-02 16:09:14 +02:00
Dan Hirsch
ec7e9f2016 Added a few TODOs 2012-06-02 04:16:04 +02:00
Dan Hirsch
6d755efbde Extracted out common error handling and result patching code 2012-06-02 04:05:55 +02:00
Sven M. Hallberg
12e296fc9a Merge branch 'fix-cache-hit-skip' 2012-06-02 02:52:22 +02:00
Sven M. Hallberg
80ad3476e2 save input stream with cached results 2012-06-02 02:39:00 +02:00
Sven M. Hallberg
53c85e2179 Merge branch 'fix-cache-hit-skip' 2012-06-01 20:01:28 +02:00
Sven M. Hallberg
7d818e2570 Merge branch 'enable-indirect' 2012-06-01 20:00:51 +02:00
Sven M. Hallberg
4f6989d3ef enable h_indirect 2012-06-01 20:00:10 +02:00
Sven M. Hallberg
5668b46f97 skip previously parsed input in cache hit case 2012-06-01 19:41:56 +02:00
Sven M. Hallberg
998bda3dac add test for h_in 2012-05-29 00:02:32 +02:00
Sven M. Hallberg
2d5b90e174 add h_in (counterpart to h_not_in) 2012-05-29 00:01:30 +02:00
Sven M. Hallberg
7678e8dd68 define h_not_in with size_t count as per declaration 2012-05-28 14:35:28 +02:00
Meredith L. Patterson
2a7f9b742a Merge branch 'master' of peewee-vb.local:Projects/hammer/hammer 2012-05-26 19:16:03 +02:00
Meredith L. Patterson
8d74686a7e minor changes 2012-05-26 19:15:56 +02:00
Dan Hirsch
d434f2c1a9 Example does something basic now 2012-05-26 19:14:26 +02:00
Dan Hirsch
c43b6d2f4c Forgot attr_bool 2012-05-26 16:05:01 +02:00
Dan Hirsch
100dadb77d Merge remote-tracking branch 'bunter/master' 2012-05-26 16:03:25 +02:00
Dan Hirsch
783be52ad9 Epsilon is now static 2012-05-26 16:02:50 +02:00
Dan Hirsch
f2def8fa05 Refactor ALL the things! 2012-05-26 16:00:43 +02:00
Dan Hirsch
6a2f10df0c Changed parsers to use vtables instead of just a function pointer 2012-05-26 15:15:38 +02:00
Meredith L. Patterson
fa0b73dd5e Fixed possible NULL dereference; fixed setupLR to use arena properly 2012-05-26 14:40:12 +02:00
Dan Hirsch
0284c99f12 Renamed all the public functions 2012-05-26 14:06:52 +02:00
Dan Hirsch
f462d5feb3 Finished renaming types 2012-05-26 13:13:41 +02:00
Dan Hirsch
199cde7058 Renamed more types 2012-05-26 13:01:23 +02:00
Dan Hirsch
b10ef575e2 Renamed token_type_t 2012-05-26 12:05:23 +02:00
Dan Hirsch
8cc526f13e Renamed parse state 2012-05-26 12:03:58 +02:00
Meredith L. Patterson
8959d6db07 action is all const all the time. Now to write the dns action. 2012-05-24 19:15:24 +02:00
Meredith L. Patterson
4226d67c26 DNS, refactored and compiling. Needs struct-building action written still. 2012-05-24 18:44:48 +02:00
Dan Hirsch
40be28fb7e Merge remote-tracking branch 'bunter/master'
Also, fix makefile

Conflicts:
	src/hammer.c
2012-05-24 15:51:42 +02:00
Dan Hirsch
5d77c4307f Fix difference and butnot 2012-05-24 15:35:04 +02:00
Meredith L. Patterson
13395d8a54 counted_array now holds parsed_token_t's. TQ will fix the problem with accumulate_size. Compile-time bounds checks added to int_range. 2012-05-24 13:22:43 +02:00
Meredith L. Patterson
13fab7e49c int_range passes test 2012-05-24 12:23:55 +02:00
Meredith L. Patterson
7626f083f5 didn't actually need that check 2012-05-24 12:16:33 +02:00
Meredith L. Patterson
a1d6e60222 fixed int_range, too 2012-05-24 12:09:38 +02:00
Meredith L. Patterson
7ab9f7c92f Fixed problems stemming from renaming of range to ch_range 2012-05-24 12:00:23 +02:00
Meredith L. Patterson
947b67b5a5 Continuing with DNS. Added some checks to attr_bool, and explained checks in docs. 2012-05-24 11:01:18 +02:00
Dan Hirsch
56a5845674 Implemented and 2012-05-23 15:55:40 +02:00