- Feb 21, 2020
-
-
Sven M. Hallberg authored
fixes issue #83
-
Sven M. Hallberg authored
#83
-
- Feb 14, 2020
-
-
Meredith L. Patterson authored
Resolve "assertion failure with ambiguous LALR compiles" Closes #91 See merge request hammer/hammer!34
-
Meredith L. Patterson authored
Jni update See merge request hammer/hammer!36
-
Meredith L. Patterson authored
print arena stats only when running test_suite --verbose See merge request hammer/hammer!33
-
picomeg authored
development
-
picomeg authored
-
picomeg authored
update started from.
-
- Feb 11, 2020
-
-
Sven M. Hallberg authored
fixes issue 91
-
Sven M. Hallberg authored
-
Sven M. Hallberg authored
"assertion failure with ambiguous LALR compiles" hammer/hammer#91
-
Sven M. Hallberg authored
i was trying to find out why the test suite suddenly insisted on being so noisy. turns out glib now does TAP by default and all messages get printed, --verbose or not. the old mode is considered deprecated. cf. https://en.wikipedia.org/wiki/Test_Anything_Protocol https://gitlab.gnome.org/GNOME/glib/commit/ad175766575b23be920f41cdb1c350447c743347 https://gitlab.gnome.org/GNOME/glib/commit/19aafc4ca4dba2b63d24f01d23890ff30ef9b133
-
- Feb 10, 2020
-
-
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
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 26, 2020
-
-
picomeg 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
-
- Jan 07, 2020
-
-
picomeg authored
-