Sven M. Hallberg
|
85aaf94332
|
change sequence variants of first and derives_epsilon to take a
null-terminated array
|
2013-04-30 20:16:16 +02:00 |
|
Sven M. Hallberg
|
73a84d17b8
|
add (untested) first set analysis
|
2013-04-30 17:49:35 +02:00 |
|
Sven M. Hallberg
|
0b9c9a6a10
|
formatting
|
2013-04-30 17:49:07 +02:00 |
|
Sven M. Hallberg
|
296ffb87b6
|
const adjustments to ll backend
|
2013-04-30 17:48:24 +02:00 |
|
Sven M. Hallberg
|
209bd43f10
|
add h_hashtable_update and h_hashset_put_all
|
2013-04-30 17:45:33 +02:00 |
|
Sven M. Hallberg
|
109d60fca3
|
make hashtable keys const
|
2013-04-30 17:44:54 +02:00 |
|
Sven M. Hallberg
|
24ed1bec53
|
wording fix
|
2013-04-28 17:04:49 +02:00 |
|
Sven M. Hallberg
|
5edb4b41be
|
always place at least one element in g->nts
|
2013-04-28 16:57:14 +02:00 |
|
Sven M. Hallberg
|
3ff6de5d8a
|
add (untested) "derives epsilon" analysis
|
2013-04-27 23:20:13 +02:00 |
|
Dan Hirsch
|
13088c9d7a
|
Finshed up the regex backend
|
2013-04-26 20:36:54 -07:00 |
|
Sven M. Hallberg
|
da75a7ae9a
|
add grammar representation functions and WIP LL scaffold
|
2013-04-27 04:24:09 +02:00 |
|
Sven M. Hallberg
|
88091b602f
|
wrap all allocs of HParser in helper h_new_parser
|
2013-04-27 04:17:47 +02:00 |
|
Sven M. Hallberg
|
3dfc313118
|
try to clean up and debug desugar_many
|
2013-04-27 03:40:21 +02:00 |
|
Sven M. Hallberg
|
fd10e83bfe
|
add alias(es) for HHashSet from HHashtable
|
2013-04-27 00:55:55 +02:00 |
|
Sven M. Hallberg
|
7180169af4
|
save a parser's desugared form when h_desugar is called on it for the first time
|
2013-04-27 00:55:42 +02:00 |
|
aegis
|
f817211446
|
Merge remote branch 'upstream/master'
Conflicts:
src/hammer.h
|
2013-04-23 16:31:03 +02:00 |
|
Dan Hirsch
|
204147a3d2
|
Merge remote-tracking branch 'mlp/regex'
|
2013-04-22 21:07:18 -04:00 |
|
Meredith L. Patterson
|
07d35c72ff
|
Most of RVM desugaring done in first draft, for TQ to check.
|
2013-04-22 18:06:17 -07:00 |
|
Sven M. Hallberg
|
1325ebcdd1
|
add LL backend stub
|
2013-04-17 15:10:33 +02:00 |
|
Sven M. Hallberg
|
e73377fbda
|
actually use the chosen backend in benchmark, was always PB_MIN
|
2013-04-17 15:09:24 +02:00 |
|
Rob Zinkov
|
e69fd2e5b9
|
Adding epislon and nothing
|
2013-03-18 15:27:16 -07:00 |
|
Dan Hirsch
|
99f4e18f1f
|
Fixed a bug in RVM_MATCH
|
2013-03-17 22:44:30 -07:00 |
|
Meredith L. Patterson
|
875c9b9c57
|
rvm instructions for ch(); fixed a declaration in optional()
|
2013-03-18 01:18:39 -04:00 |
|
Meredith L. Patterson
|
8a5c4b6b67
|
beginnings of translating parser combinators to regex vm instructions
|
2013-03-18 01:02:59 -04:00 |
|
Dan Hirsch
|
f5245eaa23
|
Whoops. Meant to compile that first
|
2013-03-17 22:01:54 -07:00 |
|
Dan Hirsch
|
17b03dbf4d
|
Added implementations of framework functions
|
2013-03-17 20:17:55 -07:00 |
|
Dan Hirsch
|
4c2a536151
|
Added framework for implementing HParser-to-RVM compiler
|
2013-03-17 19:56:43 -07:00 |
|
Rob Zinkov
|
4e11c90664
|
Adding desugar
|
2013-03-17 13:25:02 -07:00 |
|
Dan Hirsch
|
f7246e9589
|
Forgot to actually add desugaring function
|
2013-03-16 14:47:31 -07:00 |
|
Dan Hirsch
|
ffd050e603
|
Added generic form of desugaring functions
|
2013-03-16 14:30:15 -07:00 |
|
Dan Hirsch
|
c19d7bb66e
|
Regex VM finished but untested.
|
2013-03-09 21:42:49 -08:00 |
|
Dan Hirsch
|
a8ab63e096
|
Tiny change
|
2013-03-09 17:25:25 -08:00 |
|
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 |
|
Sven M. Hallberg
|
662357ccb4
|
add glue helper to construct sized sequences
|
2013-02-17 16:47:36 +01:00 |
|
Sven M. Hallberg
|
b83be8472e
|
fix counter init in h_seq_append
|
2013-02-17 16:29:54 +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
|
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
|
70aaf1308c
|
massage glue api around some, add a bunch of dummy declarations
|
2013-01-25 18:12:00 +01:00 |
|
Sven M. Hallberg
|
21df49cc15
|
split out act_header
|
2013-01-15 01:24:47 +01:00 |
|