Commit graph

19 commits

Author SHA1 Message Date
Nicolas Léveillé
2a6233b74f Print user defined token type while pretty printing
The pretty printing format chosen is USER:<token name>

We use the registry function `h_get_token_type_name` which returns 0
when no name has been defined. This will print (null) as a token name.
2015-08-01 13:42:43 +02:00
Meredith L. Patterson
cd067aab74 Merge pull request #42 from thequux/standalone-test-suite
Made test-suite work on its own
2013-11-01 10:28:11 -07:00
Dan Hirsch
ce0829de33 Made test-suite work on its own 2013-11-01 12:39:01 -04:00
Meredith L. Patterson
43f1d70a5f Merging JakobR's OS X build changes. 2013-10-18 12:14:18 +02:00
Sven M. Hallberg
21df49cc15 split out act_header 2013-01-15 01:24:47 +01:00
Meredith L. Patterson
8163b3981d Changed other instances of malloc.h to stdlib.h for OSX compat 2012-11-14 14:05:25 -05:00
Meredith L. Patterson
158b2b3ba6 Removed all glib functions from everything other than the test suite. 2012-10-10 16:24:12 +02:00
Dan Hirsch
d434f2c1a9 Example does something basic now 2012-05-26 19:14:26 +02:00
Dan Hirsch
0284c99f12 Renamed all the public functions 2012-05-26 14:06:52 +02:00
Dan Hirsch
199cde7058 Renamed more types 2012-05-26 13:01:23 +02:00
Meredith L. Patterson
f921ece53f action() works. Will finish DNS tomorrow. 2012-05-22 03:57:27 +02:00
Dan Hirsch
38db7a2cf5 Now have various-sized integer parsers 2012-05-18 18:43:02 +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
Dan Hirsch
3afe324aaa Implemented a bunch more combinators 2012-05-13 01:01:26 +01:00
Meredith L. Patterson
0164ddc98d Merge branch 'master' of 10.24.0.1:Projects/hammer. Also, licenses for everything!
Conflicts:
	src/hammer.c
2012-05-12 22:26:59 +01:00
Dan Hirsch
b6cb84df15 Added 'unimplemented' parser 2012-05-12 21:53:54 +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
Dan Hirsch
c7beb60546 Actually added pretty printer this time 2012-05-11 23:42:17 +01:00