Dan Hirsch
b0f567c090
Added new build system
2013-07-10 21:32:05 +02:00
Dan Hirsch
0600440b7c
Got a lot of regex test cases working
2013-05-23 23:27:07 +02:00
Meredith L. Patterson
1c7e9947a4
merging in aegis' JNI bindings
2013-05-23 00:58:27 -07:00
aegis
106b8bb6a7
JNI ready for testing. -fPIC enabled for objects in src and jni.
2013-05-10 12:05:20 +02:00
Dan Hirsch
13088c9d7a
Finshed up the regex backend
2013-04-26 20:36:54 -07:00
Meredith L. Patterson
de8db18db4
Refactored tests; make just builds library, make test builds/runs tests
2012-11-13 22:29:25 -05:00
Dan Hirsch
8eececcac8
Now builds without glib
2012-10-10 16:45:10 +02:00
Dan Hirsch
c76c97cfcd
Allowed clang's scan-build to work
2012-05-26 14:36:36 +02:00
Dan Hirsch
764d0d7071
Cleaned up some memory leaks, got rid of gsequence, improved test macro to free memory that it allocated
2012-05-17 15:52:29 +02:00
Dan Hirsch
3504bde301
Log memory usage diagnostics, fix test_not, add ability to compile in debug mode
2012-05-12 23:04:54 +01:00
Dan Hirsch
5f26455924
Cleaned up makefiles a bit, fixed all the warnings in hammer.c
2012-05-01 02:05:58 +01:00
Dan Hirsch
a125975737
Quieter build
2012-05-01 01:47:14 +01:00
Meredith L. Patterson
318b594bed
Parser combinators are well underway. Ones that are now finished are:
...
* token: matches a sequence of bytes (with length)
* ch: matches a single byte
* range: matches any byte within the range [lower, upper] (inclusive)
* join_action: joins the results of another parser with a separator
* negate: matches the opposite of any single-character parser
* end_p: succeeds if there's no input left to parse
* nothing_p: always fails
One other big change: the AST is now a GSequence of parsed_token_t's. WARNING: This is not actually enforced, because C.
Also tweaked the makefile a little (which will get clobbered in TQ's next commit) and added some documentary comments to hammer.h.
2012-05-01 00:33:47 +01:00
Meredith L. Patterson
dfd8cf2a97
Settled on cache layout, wrote djbhash variant for indexing byte/bit positions into inner hash table
2012-04-30 03:44:10 +01:00
Meredith L. Patterson
1789cbf0ca
Fixed default 'all' target; fixed format warnings in test suite
2012-04-30 02:32:32 +01:00
Dan Hirsch
6dd36f9acd
That should fix the build on Ubuntu; also, it should add a clean target
2012-04-30 02:21:22 +01:00
Dan Hirsch
faab7b7cf8
Wrote basic makefile, wrote tests, and then fixed them
2012-04-29 01:45:52 +01:00