Sven M. Hallberg
|
3765fd64e1
|
don't pre-allocate all space when parsing an h_length_value
|
2015-10-29 13:12:16 +01:00 |
|
Meredith L. Patterson
|
969d768205
|
Don't cache dummy results for primitive parsers.
|
2015-10-03 17:54:11 +02:00 |
|
Sven M. Hallberg
|
7319c48e59
|
fix reshape for h_many
|
2015-09-16 20:06:24 +02:00 |
|
Nicolas Léveillé
|
0c35525e30
|
Convert usages of errx to h_platform_errx
This BSD call will have to be implemented on windows. Right now
we have a stub that just exits the process.
|
2015-08-09 22:46:45 +02:00 |
|
Dan Hirsch
|
ce74cf7939
|
Refactored regex backend to use a sparse thread list
|
2013-06-24 21:25:22 +02:00 |
|
Dan Hirsch
|
ec404ca8fe
|
Refactored all of the desugaring code to no longer depend on memory being initialized to 0. Everything is about 12% faster now.
|
2013-05-25 03:35:42 +02:00 |
|
Dan Hirsch
|
d71215d494
|
All tests pass; lots of stuff is no longer const
|
2013-05-24 15:07:47 +02:00 |
|
Sven M. Hallberg
|
29cee318f9
|
move the h_act_* functions to src/actions.c
|
2013-05-20 14:58:20 +02:00 |
|
Sven M. Hallberg
|
1fac551429
|
add reshapers to 'many' parsers (makes the benchmark run with llk!)
|
2013-05-14 11:55:30 +02:00 |
|
Sven M. Hallberg
|
c64a4e435e
|
Merge remote-tracking branch 'tq/master' into LL such that it compiles
Conflicts:
src/Makefile
src/backends/packrat.c
src/compile.c
src/hammer.h
src/internal.h
src/parsers/action.c
src/parsers/and.c
src/parsers/attr_bool.c
src/parsers/bits.c
src/parsers/butnot.c
src/parsers/ch.c
src/parsers/charset.c
src/parsers/choice.c
src/parsers/difference.c
src/parsers/end.c
src/parsers/epsilon.c
src/parsers/ignore.c
src/parsers/ignoreseq.c
src/parsers/indirect.c
src/parsers/int_range.c
src/parsers/many.c
src/parsers/not.c
src/parsers/nothing.c
src/parsers/optional.c
src/parsers/sequence.c
src/parsers/token.c
src/parsers/unimplemented.c
src/parsers/whitespace.c
src/parsers/xor.c
|
2013-05-11 19:09:22 +02:00 |
|
Dan Hirsch
|
13088c9d7a
|
Finshed up the regex backend
|
2013-04-26 20:36:54 -07: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 |
|
Meredith L. Patterson
|
07d35c72ff
|
Most of RVM desugaring done in first draft, for TQ to check.
|
2013-04-22 18:06:17 -07:00 |
|
Rob Zinkov
|
4e11c90664
|
Adding desugar
|
2013-03-17 13:25:02 -07: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 |
|
Meredith L. Patterson
|
5ae267f3ed
|
Still broken, but all desugaring functions stubbed out.
|
2013-02-03 02:18:19 -05: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 |
|
Dan Hirsch
|
d5729efa1f
|
Replaced glib memory allocation
|
2012-10-10 15:58:03 +02:00 |
|
Dan Hirsch
|
f2def8fa05
|
Refactor ALL the things!
|
2012-05-26 16:00:43 +02:00 |
|