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 |
|
Dan Hirsch
|
b8314f6662
|
Added regex backend, does not compile
|
2013-01-13 17:01:10 +01:00 |
|
Sven M. Hallberg
|
4e3084739e
|
fix expected value of first leftrec test case
|
2013-01-10 01:09:04 +01:00 |
|
Sven M. Hallberg
|
63dbf83b4d
|
fix a loop in setupLR
|
2013-01-10 01:04:04 +01:00 |
|
Sven M. Hallberg
|
dffe47bf57
|
initialize eval_set to a proper copy of involved_set
|
2013-01-10 00:40:19 +01:00 |
|
Sven M. Hallberg
|
ce88a3f49d
|
initialize involved_set to an empty HList, not NULL
|
2013-01-10 00:39:15 +01:00 |
|
Sven M. Hallberg
|
0497cdb08b
|
add trivial left-recursion test case
|
2013-01-10 00:08:07 +01:00 |
|
Meredith L. Patterson
|
fdf76a0910
|
Merge pull request #25 from pesco/fix-whitespace-end
allow h_whitespace(p) to succeed on end of input if p succeeds
|
2013-01-09 08:08:49 -08:00 |
|
Sven M. Hallberg
|
2bc03e4e9f
|
allow h_whitespace(p) to succeed on end of input if p succeeds
|
2013-01-09 14:48:02 +01:00 |
|
Sven M. Hallberg
|
4d0ec07c1a
|
make TT_USER > TT_ERR, remove TT_MAX
|
2013-01-07 23:44:26 +01:00 |
|
Meredith L. Patterson
|
36e1f66de0
|
Expanded vtable for methods to determine whether a combinator is ok to use with regular or CF grammars.
|
2012-12-18 18:10:40 -05: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
|
fa6497b9f0
|
Refactored packrat-parsing code into packrat.c
|
2012-11-14 00:02:24 -05:00 |
|
Dan Hirsch
|
1e35c3c63a
|
Fixed build error on OSX... I think.
|
2012-11-13 22:51:31 -05:00 |
|
Meredith L. Patterson
|
de8db18db4
|
Refactored tests; make just builds library, make test builds/runs tests
|
2012-11-13 22:29:25 -05:00 |
|
Meredith L. Patterson
|
e9b49cf24c
|
gcc 4.4 requires stdarg in hammer.h
|
2012-11-11 12:39:23 -05:00 |
|
Meredith L. Patterson
|
4ee72f7308
|
double 'const' decl was causing clang to error
|
2012-11-11 11:10:39 -05:00 |
|
Meredith L. Patterson
|
6ae2e1fed4
|
Changed malloc.h to stdlib.h for OSX compatibility.
|
2012-11-10 23:34:08 -05:00 |
|
Meredith L. Patterson
|
6893987cbc
|
h_benchmark and h_benchmark_report work. Need tidying.
|
2012-11-09 01:50:07 -05:00 |
|
Meredith L. Patterson
|
c24044230b
|
Benchmark is actually broken right now, for mysterious double-free related reasons. I will dig into this tomorrow.
|
2012-11-08 01:36:19 -05:00 |
|
Meredith L. Patterson
|
771de6f98b
|
Benchmark test case array needed to be terminated with {NULL,0,NULL}. Noted that in comments.
|
2012-11-06 00:20:00 -05:00 |
|
Meredith L. Patterson
|
21ec962d76
|
Working on benchmarking test. A lot of things needed to be const and weren't.
|
2012-11-05 23:08:18 -05:00 |
|
Dan Hirsch
|
d0d9a94fd0
|
Added benchmark skeleton, and at least stubs for all of the necessary functions
|
2012-11-02 17:16:53 -04:00 |
|
Dan Hirsch
|
8eececcac8
|
Now builds without glib
|
2012-10-10 16:45:10 +02: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
|
d5729efa1f
|
Replaced glib memory allocation
|
2012-10-10 15:58:03 +02:00 |
|
Dan Hirsch
|
6101b8c43a
|
Hash table now works.
|
2012-10-08 22:06:33 +02:00 |
|