Commit graph

1003 commits

Author SHA1 Message Date
TQ Hirsch
22d125bfab Added NetBSD and OpenBSD ports 2014-04-22 15:04:26 +02:00
TQ Hirsch
4f9efcd726 Merge pull request #101 from abiggerhammer/master
Make HHashTable resizeable and improve benchmarking output
2014-04-20 21:50:59 +02:00
Meredith L. Patterson
27f08df1d3 fix infinite loop in isValidCF with indirect 2014-04-20 21:40:09 +02:00
Meredith L. Patterson
bab376cab7 fix non-resizable hashtable 2014-04-20 21:00:50 +02:00
Meredith L. Patterson
eb04842d85 slightly nicer benchmark output 2014-04-20 17:31:21 +02:00
Meredith L. Patterson
1d12f9ffac regex_compile should return -1 if not a regular grammar; give backends names 2014-04-20 17:23:25 +02:00
Meredith L. Patterson
c9419f4c34 CF backends weren't checking whether a grammar is CF; they are now. Also, brace-fixing. 2014-04-20 16:57:01 +02:00
Meredith L. Patterson
d947c6aede Merge branch 'master' of http://github.com/UpstandingHackers/hammer 2014-04-20 00:46:37 +02:00
Meredith L. Patterson
6cf41c6408 Merge pull request #100 from thequux/openbsd
Ported to OpenBSD.
2014-04-14 00:55:56 +02:00
TQ Hirsch
cc4ded8914 Ported to OpenBSD. 2014-04-13 22:30:48 +00:00
Meredith L. Patterson
2c405f40a9 Merge pull request #99 from thequux/nbsd
Make build work on NetBSD
2014-04-14 00:01:52 +02:00
TQ Hirsch
849178d60b Ported to NetBSD (2/2): Add casts for character class detection
NetBSD's character class test macros are defined such that they produce
a compiler warning when given a char argument. Adding a cast to the call
fixes this.
2014-04-13 14:36:38 -07:00
TQ Hirsch
426a3f8468 Ported to NetBSD (1/2): Replaced Linux-specific timer call
CLOCK_THREAD_CPUTIME_ID is a linux-specific timer. On NetBSD, the best
way to get timer information appears to be getrusage, which happens to
be fairly cross-platform.
2014-04-13 14:36:38 -07:00
Meredith L. Patterson
5270484839 Merge pull request #97 from thequux/freebsd
Made mono tool only get loaded when the dotnet bindings are getting built
2014-04-13 12:30:07 +02:00
TQ Hirsch
2f479a010d Made mono tool only get loaded when the dotnet bindings are getting built 2014-04-12 21:44:10 -07:00
Meredith L. Patterson
70da67adb5 Merge pull request #94 from pesco/fix-49-stringmap-segfault
Fix #49 stringmap segfault
2014-04-10 23:40:28 +02:00
fbz
f95dc6cd7d Merge pull request #93 from pesco/fix-left-recursion
Fix left-recursion with packrat
2014-04-10 22:54:19 +02:00
Meredith L. Patterson
9be91f3b33 Merge pull request #95 from thequux/freebsd
Added FreeBSD port
2014-04-04 01:25:34 +02:00
TQ Hirsch
20f909ec91 Added FreeBSD port 2014-04-03 06:41:01 +00:00
Sven M. Hallberg
6875dc3e53 retab 2014-03-24 17:30:23 +01:00
Sven M. Hallberg
797bdb7224 copy source stringmap as necessary in stringmap_merge 2014-03-24 17:22:52 +01:00
Sven M. Hallberg
0970b15034 add function h_stringmap_copy 2014-03-24 17:22:32 +01:00
Sven M. Hallberg
2b31fb0f33 assert: stringmap_merge's arguments should use the same memory arena 2014-03-24 15:49:36 +01:00
Sven M. Hallberg
4a973d3f98 enable leftrec-ne test for LALR and GLR backends 2014-03-21 22:39:13 +01:00
Sven M. Hallberg
5af0e3e2ba disable test /core/parser/packrat/leftrec 2014-03-21 22:37:39 +01:00
Sven M. Hallberg
0fb744b16d rename leftrec_nonempty test to leftrec-ne 2014-03-21 22:34:39 +01:00
Sven M. Hallberg
f4afd0cb8d more leftrec fixes: head caching and input rewinding 2014-03-21 20:54:33 +01:00
Sven M. Hallberg
fbdd2b7613 pull saved position into HParserCacheValue and fix segfault in grow() 2014-03-17 23:46:14 +01:00
Meredith L. Patterson
e4e7c4c6b4 Merge branch 'master' of http://github.com/UpstandingHackers/hammer 2014-03-17 03:26:30 +01:00
Meredith L. Patterson
9c8dcd7763 Merge branch 'master' of github.com:abiggerhammer/hammer 2014-03-17 03:25:51 +01:00
Meredith L. Patterson
64213e733b Append '64' to libpath on non-Darwin platforms. 2014-03-17 03:25:28 +01:00
TQ Hirsch
5ee7982596 Merge pull request #91 from abiggerhammer/master
C++ bindings
2014-01-16 14:09:12 -08:00
Meredith L. Patterson
9d19f86317 Merge pull request #20 from abiggerhammer/c++
C++
2014-01-16 12:14:55 -08:00
Meredith L. Patterson
1b25ca547e Update README.md 2014-01-16 21:14:15 +01:00
Meredith L. Patterson
047c2c6059 LIBPATH, not LD_LIBRARY_PATH 2014-01-16 20:45:21 +01:00
Meredith L. Patterson
4886a7fa16 oh linker, you so crazy 2014-01-16 20:28:56 +01:00
Meredith L. Patterson
dfeafce3b3 paths 2014-01-16 20:09:33 +01:00
Meredith L. Patterson
c7cc297100 merging 2014-01-16 19:51:29 +01:00
Meredith L. Patterson
03e2944ba7 setting up travis for cpp 2014-01-16 19:50:31 +01:00
Meredith L. Patterson
865be1e431 scons bindings=cpp test works 2014-01-16 19:49:28 +01:00
Meredith L. Patterson
1d6a6d90ab C++ bindings now work! 2014-01-16 19:49:28 +01:00
TQ Hirsch
270dc3f1b8 Got test suite building, most of the c++ bindings are implemented. Let's see if they work 2014-01-16 19:49:28 +01:00
Meredith L. Patterson
9e0c0efd77 all tests written, though action/attr_bool are incomplete 2014-01-16 19:48:45 +01:00
TQ Hirsch
bda2fb4741 Added start at C++ bindings 2014-01-16 19:48:45 +01:00
Meredith L. Patterson
fb1410c049 scons bindings=cpp test works 2014-01-16 19:45:32 +01:00
Meredith L. Patterson
7e5e0f00b6 C++ bindings now work! 2014-01-16 18:58:36 +01:00
Meredith L. Patterson
a942880d50 Merge branch 'c++' of http://github.com/thequux/hammer into c++ 2014-01-16 17:22:55 +01:00
TQ Hirsch
e22199ee06 Got test suite building, most of the c++ bindings are implemented. Let's see if they work 2014-01-16 11:24:28 -05:00
Meredith L. Patterson
4a6b903ee1 all tests written, though action/attr_bool are incomplete 2014-01-16 16:48:56 +01:00
TQ Hirsch
da21737bbe Added start at C++ bindings 2014-01-16 09:38:55 -05:00