- Sep 22, 2022
-
-
Sven M. Hallberg authored
This commit changes the contract for the combinator parse functions: (1) The input state on failure must retain valid overrun and last_chunk fields. The latter is never changed, but overrun would be cleared by various combinators that backtrack in case of failure. All other fields of the input stream are still considered indeterminate after a failed parse. (2) If an overrun condition is encountered before the final chunk (last_chunk is false), the parse *must* fail. A helper want_suspend() is introduced as a shorthand for this check. Fixes the packrat/iterative/dummy test.
-
- Oct 03, 2015
-
-
Meredith L. Patterson authored
-
- May 25, 2013
-
-
Dan Hirsch authored
Refactored all of the desugaring code to no longer depend on memory being initialized to 0. Everything is about 12% faster now.
-
- Apr 27, 2013
-
-
Dan Hirsch authored
-
Sven M. Hallberg authored
-
- Apr 23, 2013
-
-
Meredith L. Patterson authored
-
- Feb 20, 2013
-
-
Dan Hirsch authored
-
- Feb 03, 2013
-
-
Meredith L. Patterson authored
-
- Dec 18, 2012
-
-
Meredith L. Patterson authored
Expanded vtable for methods to determine whether a combinator is ok to use with regular or CF grammars.
-
- Oct 10, 2012
-
-
Dan Hirsch authored
-
- May 26, 2012
-
-
Dan Hirsch authored
-