- Feb 10, 2020
-
-
Sven M. Hallberg authored
-
Meredith L. Patterson authored
Token tweaks See merge request hammer/hammer!31
-
Meredith L. Patterson authored
avoid a segfault when h_act_flatten() is called on a null token See merge request hammer/hammer!29
-
Meredith L. Patterson authored
differantiate error codes from h_compile() and update documentation See merge request hammer/hammer!28
-
Meredith L. Patterson authored
remove -Wno-clobbered from CFLAGS See merge request hammer/hammer!27
-
- Feb 09, 2020
-
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
this omission has nagged me a number of times and i think it must have been a simple oversight.
-
Sven M. Hallberg authored
this way the assert will fire from the user's code rather than the one in glue.c:h_seq_index() which is not informative without a stack trace.
-
Sven M. Hallberg authored
also includes commented-out tests for functionality that i discovered we never provided, namely position and length information at the granularity of HParsedTokens. at the moment, these fields always seem to be 0. we should probably fix that or get rid of them. in the latter case it might make sense to move this information to HParseResult, so the user can get access to it via h_action() as needed.
-
Sven M. Hallberg authored
the regex backend already returned 2 for an internal failure, contrary to documentation, so this mainly brings the latter in line with existing behavior. at the same time, fix a bug: h_compile would previously return "false" (0) on exceptions (longjmp). make use of our new freedom to signal different error conditions from the context-free backends, notably "incompatible combinator" vs. "unresolvable conflict".
-
Sven M. Hallberg authored
it breaks the build with clang.
-
- Feb 03, 2020
-
-
Meredith L. Patterson authored
Fix pointer signedness warning in h_literal() See merge request hammer/hammer!26
-
Andrea Shepard authored
-
- Jan 15, 2020
-
-
Meredith L. Patterson authored
Unroll djbhash for ~25% speedup See merge request hammer/hammer!24
-
Meredith L. Patterson authored
Hammer arena malloc speedup See merge request hammer/hammer!23
-
Meredith L. Patterson authored
Hammer speedup See merge request hammer/hammer!22
-
- Jan 12, 2020
-
-
Andrea Shepard authored
-
Andrea Shepard authored
-
Andrea Shepard authored
-
Andrea Shepard authored
Provide an alternate interface to the arena allocator to avoid wasting time on unnecessary calls to memset()
-
- Jan 11, 2020
-
-
Andrea Shepard authored
Eliminate unnecessary hash computations in the packrat backend (roughly 2.5x speed in one benchmark)
-
Andrea Shepard authored
-
Andrea Shepard authored
-
- Jan 10, 2020
-
-
Andrea Shepard authored
Hammer gprof See merge request hammer/hammer!21
-
Andrea Shepard authored
-
Andrea Shepard authored
-
Andrea Shepard authored
-
Andrea Shepard authored
-
- Dec 12, 2019
-
-
Andrea Shepard authored
-
- Dec 09, 2019
-
-
Meredith L. Patterson authored
Support --gprof build flag See merge request hammer/hammer!20
-
Andrea Shepard authored
-
Andrea Shepard authored
-
- Dec 05, 2019
-
-
Andrea Shepard authored
h_drop_from See merge request !19
-
Meredith L. Patterson authored
A working h_drop_from which rewrites its underlying sequence as a sequence containing some ignored parsers.
-
- Dec 04, 2019
-
-
Meredith L. Patterson authored
enable h_repeat_n() for CF backends See merge request !18
-
Meredith L. Patterson authored
Test/fix h_bits(0, ...) See merge request !17
-
- Dec 03, 2019
-
-
Sven M. Hallberg authored
-
- Dec 02, 2019
-
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
-