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
|
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 |
|
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 |
|
Dan Hirsch
|
05ef58b958
|
Restore test_many to one iteration
|
2012-05-23 01:07:14 +02:00 |
|
Dan Hirsch
|
18f98515fd
|
Revert 'fix' to test_int64
|
2012-05-23 01:06:40 +02:00 |
|
Dan Hirsch
|
2dd687ea66
|
Merge remote-tracking branch 'mlp/master'
|
2012-05-23 01:02:49 +02:00 |
|
Dan Hirsch
|
54b0f9f7b2
|
Fixed bitreader to work correctly for signed 64-bit integers
|
2012-05-23 01:02:31 +02:00 |
|
Meredith L. Patterson
|
3bb11afeac
|
int64 test was wrong, fixed it
|
2012-05-22 16:10:40 +02:00 |
|
Meredith L. Patterson
|
f921ece53f
|
action() works. Will finish DNS tomorrow.
|
2012-05-22 03:57:27 +02:00 |
|
Meredith L. Patterson
|
e2af24fe80
|
action() test fully written. But it segfaults. Debugging.
|
2012-05-22 02:55:00 +02:00 |
|
Meredith L. Patterson
|
dd3852fdb1
|
Added length_value parser to use with DNS
|
2012-05-22 02:40:48 +02:00 |
|
Meredith L. Patterson
|
3057020c70
|
merging changes from tq
|
2012-05-22 00:59:53 +02:00 |
|
Dan Hirsch
|
38db7a2cf5
|
Now have various-sized integer parsers
|
2012-05-18 18:43:02 +02:00 |
|
Meredith L. Patterson
|
3a0068d92b
|
Changed resulttype of action_t to parsed_token_t; users shouldn't have to assign arenas in results.
|
2012-05-18 12:49:40 +02:00 |
|
Meredith L. Patterson
|
642df1f238
|
Finished action. On to testing.
|
2012-05-18 12:35:40 +02:00 |
|
Meredith L. Patterson
|
b10a3d8ae9
|
Finished attr_bool, cleaned up header a little.
|
2012-05-18 12:18:19 +02:00 |
|
Meredith L. Patterson
|
3d5e9399c4
|
Merged TQ's changes. Started on attr_bool and action.
|
2012-05-18 11:44:38 +02:00 |
|
Dan Hirsch
|
5ffea6b7bb
|
Fixed all known memory leaks, added indirect parser, which will allow recursion
|
2012-05-17 18:27:59 +02:00 |
|
Dan Hirsch
|
764d0d7071
|
Cleaned up some memory leaks, got rid of gsequence, improved test macro to free memory that it allocated
|
2012-05-17 15:52:29 +02:00 |
|
Meredith L. Patterson
|
9803b14ce8
|
Warth's recursion finished. action() and and() still fail. Time to migrate in TQ's arena work.
|
2012-05-17 15:47:14 +02:00 |
|
Meredith L. Patterson
|
662cd0e5b4
|
Added lr_answer
|
2012-05-17 14:45:09 +02:00 |
|
Meredith L. Patterson
|
e4593dad41
|
Finished recall() and setupLR(). Documenting internal for the next asshole.
|
2012-05-17 14:05:10 +02:00 |
|
Meredith L. Patterson
|
c6f2dcc257
|
Moved parse_state_t into internal.h, had to add some things for Warth's recursion. More documentary comments.
|
2012-05-17 13:22:56 +02:00 |
|
Dan Hirsch
|
bd6e7d1b63
|
Merge branch 'master' of 10.24.0.2:working/hammer
|
2012-05-13 01:25:58 +01:00 |
|
Meredith L. Patterson
|
756f0a6573
|
moved lr_queue from input_stream to parse_state
|
2012-05-13 01:25:45 +01:00 |
|
Dan Hirsch
|
92df2d081b
|
Merge remote-tracking branch 'bunter/master'
Conflicts:
src/hammer.c
|
2012-05-13 01:25:41 +01:00 |
|
Meredith L. Patterson
|
e6eb2efa88
|
Left-recursion caching strategy about halfway implemented. Compiles, DOES NOT RUN.
|
2012-05-13 01:18:18 +01:00 |
|
Dan Hirsch
|
3afe324aaa
|
Implemented a bunch more combinators
|
2012-05-13 01:01:26 +01:00 |
|
Dan Hirsch
|
0e9bcb31ca
|
Added optional parser
|
2012-05-12 23:24:39 +01:00 |
|
Dan Hirsch
|
0954feba89
|
Added ignore parser
|
2012-05-12 23:13:52 +01:00 |
|
Dan Hirsch
|
3504bde301
|
Log memory usage diagnostics, fix test_not, add ability to compile in debug mode
|
2012-05-12 23:04:54 +01:00 |
|
Dan Hirsch
|
b6cb84df15
|
Added 'unimplemented' parser
|
2012-05-12 21:53:54 +01:00 |
|
Dan Hirsch
|
18c2d1f2ca
|
Included arena allocator in return value
|
2012-05-12 21:53:03 +01:00 |
|
Dan Hirsch
|
79f9e21da7
|
Bolted on arena allocator
|
2012-05-12 21:20:38 +01:00 |
|
Meredith L. Patterson
|
60fd846b2f
|
Removed chain and chainl, as all people will really need is list.
|
2012-05-12 16:04:20 +01:00 |
|
Meredith L. Patterson
|
650a25a6b5
|
All unit tests written except chain and chainl. Removed left_factor_action, we'll handle left-recursion with our caching strategy.
|
2012-05-12 15:49:46 +01:00 |
|
Meredith L. Patterson
|
b80d764418
|
Rewrote tests to use tq's nicer macros. repeat0's test fails cos it's not implemented yet :)
|
2012-05-12 11:22:51 +01:00 |
|
Meredith L. Patterson
|
c03de603f6
|
Merge branch 'master' of http://github.com/thequux/hammer
|
2012-05-12 10:49:41 +01:00 |
|
Dan Hirsch
|
57e1e20db0
|
Fixed test functions and pretty printer. Also fixed bug in parse_sequence. Wrote whitespace parser
|
2012-05-12 01:28:52 +01:00 |
|