Commit graph

634 commits

Author SHA1 Message Date
Meredith L. Patterson
5df9db015c h_ch's return type is uint, not bytes; fixed validate_test_ab accordingly, even though it worked before with the wrong union member name (probably because token is the first thing in the struct). Oh C, stay classy. 2013-02-20 22:08:05 -05:00
Meredith L. Patterson
31665994f4 h_attr_bool didn't have tests implemented. It does now. 2013-02-20 22:03:52 -05:00
Meredith L. Patterson
22067685c3 didn't need that comment anyway 2013-02-20 21:46:25 -05:00
Meredith L. Patterson
015b82eb0e many, many1, sepBy and sepBy1 were missing some test cases. 2013-02-20 21:42:02 -05:00
Meredith L. Patterson
810c06c6db Desugaring functions are all done! But we're not ready for the CF backends yet because desugared structures still need to be stashed in the parser. 2013-02-20 21:03:34 -05:00
Meredith L. Patterson
ab89b0fd4d desugaring done for many and attr_bool 2013-02-20 20:43:16 -05:00
Dan Hirsch
101e90ad9b Implemented a bunch more desugaring 2013-02-20 18:58:15 -05:00
Dan Hirsch
55e5bc48ab Refactored a bit 2013-02-20 02:25:42 -05:00
Meredith L. Patterson
3a0da2fd84 Added contact info 2013-02-18 20:03:19 -05:00
Meredith L. Patterson
928391d547 Added irc channel to README.md 2013-02-17 19:57:12 -05:00
Sven M. Hallberg
4e903ac806 Merge branch 'glue' into base64-example 2013-02-17 17:04:35 +01:00
Sven M. Hallberg
0cfec9781a add glue helper to construct sized sequences 2013-02-17 17:02:59 +01:00
Sven M. Hallberg
866e66ccf9 fix counter init in h_seq_append 2013-02-17 17:02:59 +01:00
Sven M. Hallberg
f1f7c4f488 remove dependency on internal.h for base64_sem2 2013-02-17 17:00:04 +01:00
Sven M. Hallberg
51b9082837 remove obsolete dependency on internal.h 2013-02-17 16:49:25 +01:00
Sven M. Hallberg
d9c2c921c4 use H_MAKE_SEQN in base64_sem1 2013-02-17 16:48:35 +01:00
Sven M. Hallberg
662357ccb4 add glue helper to construct sized sequences 2013-02-17 16:47:36 +01:00
Sven M. Hallberg
af23f3bbf3 add more glue functions in base64_sem1 2013-02-17 16:45:29 +01:00
Sven M. Hallberg
b83be8472e fix counter init in h_seq_append 2013-02-17 16:29:54 +01:00
Sven M. Hallberg
a5c579c23d switch semantic base64 examples to pre-fab actions provided by glue.h 2013-02-17 15:53:43 +01:00
Sven M. Hallberg
38ddcc5ab4 add semantic base64 examples to gitignore 2013-02-17 15:47:53 +01:00
Sven M. Hallberg
b06a98ce26 fix linking of base64 example 2013-02-17 15:47:18 +01:00
Sven M. Hallberg
cc912fa98e Merge branch 'glue' into base64-example 2013-02-17 15:26:15 +01:00
Sven M. Hallberg
dd763f0c07 Merge branch 'master' into base64-example 2013-02-17 15:25:58 +01:00
Sven M. Hallberg
25df438832 oops, moved files without adding 2013-02-17 15:25:19 +01:00
Sven M. Hallberg
195e50a7f1 move glue.[ch] into the library proper 2013-02-17 15:24:13 +01:00
Meredith L. Patterson
ee78ea0e9f Merge pull request #27 from pesco/dns-example
Rework DNS example with new glue code
2013-02-11 18:34:37 -08:00
Meredith L. Patterson
5ae267f3ed Still broken, but all desugaring functions stubbed out. 2013-02-03 02:18:19 -05:00
Meredith L. Patterson
156be7a559 Still doesn't build, but desugaring is farther along 2013-02-02 19:31:18 -05:00
Sven M. Hallberg
e95aef0b09 add some docs to glue.h 2013-02-01 01:42:10 +01:00
Sven M. Hallberg
7149260a13 make h_cast a family of macros, add H_ASSERT family, make h_assert_type a macro 2013-01-25 21:52:11 +01:00
Sven M. Hallberg
18fbf6fd69 replace casting h_seq_index functions with H_INDEX macro family,
supporting varargs
2013-01-25 21:09:23 +01:00
Sven M. Hallberg
811c68fdf2 let H_INDEX and H_FIELD accept varargs for nested sequence access 2013-01-25 20:47:51 +01:00
Sven M. Hallberg
64c44522e9 use new glue api in rr.c 2013-01-25 20:17:37 +01:00
Sven M. Hallberg
b6856fdfbf indentation fix 2013-01-25 19:32:09 +01:00
Sven M. Hallberg
53bc7af36a use more glue in dns.c 2013-01-25 19:31:10 +01:00
Sven M. Hallberg
102d9e2c86 add h_seq_elements accessor 2013-01-25 19:24:04 +01:00
Sven M. Hallberg
2f312b8c1f use H_CAST in set_rdata 2013-01-25 19:16:25 +01:00
Sven M. Hallberg
690a17b1f6 fix semantic action on A records 2013-01-25 19:12:01 +01:00
Sven M. Hallberg
0e37c6b8a1 apply some simplifications to dns example 2013-01-25 19:11:02 +01:00
Sven M. Hallberg
6e166174d6 add H_FIELD variants for built-in types 2013-01-25 19:06:28 +01:00
Sven M. Hallberg
b58b82b473 add h_seq_len 2013-01-25 18:52:07 +01:00
Sven M. Hallberg
118c03c534 move h_seq modification functions around to match the order in the header 2013-01-25 18:46:20 +01:00
Sven M. Hallberg
dbb77c0c55 ah, it's not an slist, forget about cons and prepend for now 2013-01-25 18:42:45 +01:00
Sven M. Hallberg
0b4002c697 add definitions for h_seq_index family of functions 2013-01-25 18:37:04 +01:00
Sven M. Hallberg
d6ef9ac526 add definitions for h_cast family of functions 2013-01-25 18:32:01 +01:00
Sven M. Hallberg
70aaf1308c massage glue api around some, add a bunch of dummy declarations 2013-01-25 18:12:00 +01:00
Sven M. Hallberg
71cdd46ceb expand h_make family to include seq, bytes, sint, and uint tokens 2013-01-23 19:29:29 +01:00
Sven M. Hallberg
54046e25da forgot to allocate the carray in h_make_seq (oops) 2013-01-23 19:24:13 +01:00
Sven M. Hallberg
3df4030bf8 cosmetics 2013-01-23 19:10:36 +01:00