Commit graph

  • fbdd2b7613 pull saved position into HParserCacheValue and fix segfault in grow() Sven M. Hallberg 2014-03-17 23:46:14 +01:00
  • e4e7c4c6b4 Merge branch 'master' of http://github.com/UpstandingHackers/hammer Meredith L. Patterson 2014-03-17 03:26:30 +01:00
  • 9c8dcd7763 Merge branch 'master' of github.com:abiggerhammer/hammer Meredith L. Patterson 2014-03-17 03:25:51 +01:00
  • 64213e733b Append '64' to libpath on non-Darwin platforms. Meredith L. Patterson 2014-03-17 03:25:28 +01:00
  • 5ee7982596 Merge pull request #91 from abiggerhammer/master TQ Hirsch 2014-01-16 14:09:12 -08:00
  • 9d19f86317 Merge pull request #20 from abiggerhammer/c++ Meredith L. Patterson 2014-01-16 12:14:55 -08:00
  • 1b25ca547e Update README.md Meredith L. Patterson 2014-01-16 21:14:15 +01:00
  • 047c2c6059 LIBPATH, not LD_LIBRARY_PATH Meredith L. Patterson 2014-01-16 20:45:21 +01:00
  • 4886a7fa16 oh linker, you so crazy Meredith L. Patterson 2014-01-16 20:28:56 +01:00
  • dfeafce3b3 paths Meredith L. Patterson 2014-01-16 20:09:33 +01:00
  • c7cc297100 merging Meredith L. Patterson 2014-01-16 19:51:29 +01:00
  • 03e2944ba7 setting up travis for cpp Meredith L. Patterson 2014-01-16 19:50:31 +01:00
  • 865be1e431 scons bindings=cpp test works Meredith L. Patterson 2014-01-16 19:45:32 +01:00
  • 1d6a6d90ab C++ bindings now work! Meredith L. Patterson 2014-01-16 18:58:36 +01:00
  • 270dc3f1b8 Got test suite building, most of the c++ bindings are implemented. Let's see if they work TQ Hirsch 2014-01-16 11:24:15 -05:00
  • 9e0c0efd77 all tests written, though action/attr_bool are incomplete Meredith L. Patterson 2014-01-16 16:48:56 +01:00
  • bda2fb4741 Added start at C++ bindings TQ Hirsch 2014-01-16 09:38:55 -05:00
  • fb1410c049 scons bindings=cpp test works Meredith L. Patterson 2014-01-16 19:45:32 +01:00
  • 7e5e0f00b6 C++ bindings now work! Meredith L. Patterson 2014-01-16 18:58:36 +01:00
  • a942880d50 Merge branch 'c++' of http://github.com/thequux/hammer into c++ Meredith L. Patterson 2014-01-16 17:22:55 +01:00
  • e22199ee06 Got test suite building, most of the c++ bindings are implemented. Let's see if they work TQ Hirsch 2014-01-16 11:24:15 -05:00
  • 4a6b903ee1 all tests written, though action/attr_bool are incomplete Meredith L. Patterson 2014-01-16 16:48:56 +01:00
  • da21737bbe Added start at C++ bindings TQ Hirsch 2014-01-16 09:38:55 -05:00
  • 61f79252a5 Merge pull request #89 from thequux/ruby-bindings Meredith L. Patterson 2014-01-10 21:12:52 -08:00
  • f751400e62 Updated Ruby-specific README TQ Hirsch 2014-01-11 06:05:23 +01:00
  • 06f7060b3b Updated README to reflect the new Ruby bindings. Closes #38 TQ Hirsch 2014-01-11 05:51:25 +01:00
  • 982665aafa Got travis working, fixed ruby 1.9.3 compatibility Dan Hirsch 2014-01-11 04:27:40 +01:00
  • df196aa346 Added sconscript Dan Hirsch 2014-01-11 04:26:47 +01:00
  • cafa9adb1a Action works, too Dan Hirsch 2014-01-11 03:28:31 +01:00
  • 3d791412f0 Fixed character parsing Dan Hirsch 2014-01-11 03:24:39 +01:00
  • 0da5867a81 Action is now completely working Dan Hirsch 2014-01-11 02:55:02 +01:00
  • 482e89adf8 Added support for the token type registry Dan Hirsch 2014-01-11 01:09:45 +01:00
  • 753120f27e All of the main test suite works Dan Hirsch 2014-01-10 22:30:57 +01:00
  • 6a35872470 Added test suite generator for ruby Dan Hirsch 2014-01-10 21:24:50 +01:00
  • 8bd6671f90 Made library name cross-platform Dan Hirsch 2014-01-08 20:17:56 +01:00
  • 905183cddc Implement h_attr_bool. Jakob Rath 2013-12-17 00:06:29 +01:00
  • d343b0c8f0 Add accessor methods. Jakob Rath 2013-12-16 23:51:17 +01:00
  • a302953dfd Implement h_action. Jakob Rath 2013-12-16 23:30:50 +01:00
  • 8c653b519e Add tests about token encoding (failing for now). Jakob Rath 2013-12-16 21:28:23 +01:00
  • b16eab8f33 Fix memory issues, add HBytes#token. Jakob Rath 2013-12-16 21:00:59 +01:00
  • cf59ec83ed Fix parsing of strings with multibyte characters. Jakob Rath 2013-12-16 20:20:27 +01:00
  • 3aa2ac2634 Add real tests. Jakob Rath 2013-12-16 17:56:49 +01:00
  • 96dfad0178 h_token: Copy string correctly. Jakob Rath 2013-12-16 17:07:50 +01:00
  • d53ee07499 Allow access to HCountedArray's elements. Jakob Rath 2013-12-15 14:49:12 +01:00
  • c08818e5a5 Implement first version of HParseResult. Jakob Rath 2013-12-15 12:01:41 +01:00
  • 6d38b8e82a Use typedefs for pointers. Jakob Rath 2013-12-15 11:29:04 +01:00
  • 76782bfa4a Implement indirect parser and fix some bugs. Jakob Rath 2013-12-11 14:37:36 +01:00
  • 8ff5e181ce Add more parsers. Jakob Rath 2013-12-11 14:01:43 +01:00
  • 8048f2e731 Use Fixnum for Parser.ch() Jakob Rath 2013-12-11 13:58:22 +01:00
  • cfff00f8ed Add more parsers to ParserBuilder. Jakob Rath 2013-12-02 17:04:21 +01:00
  • 676799fbbc Add Parser.build_choice method. Jakob Rath 2013-12-02 17:03:45 +01:00
  • d3ff5f5b1e Define choice and sequence with define_parser method. Jakob Rath 2013-12-02 17:00:34 +01:00
  • 5ea0b727d0 Don't use C extensions (JRuby compatibility). Jakob Rath 2013-11-26 18:20:02 +01:00
  • 049a64946b Fix indentation. Jakob Rath 2013-11-15 14:50:31 +01:00
  • 3f661b91e3 Duplicate string argument to token parser. Jakob Rath 2013-11-15 14:49:18 +01:00
  • 7bdd8b7ce2 Free parse result. Jakob Rath 2013-11-15 14:26:00 +01:00
  • 6e34e0c8fb Remove Hammer::Parser subclasses. Jakob Rath 2013-11-15 14:21:20 +01:00
  • daeabb587d Need rake-compiler gem. Jakob Rath 2013-11-15 14:00:09 +01:00
  • 6368214fce Add first version of ruby bindings. Jakob Rath 2013-11-10 15:13:15 +01:00
  • ae0158a1cd Merge pull request #87 from abiggerhammer/master TQ Hirsch 2014-01-04 17:29:10 -08:00
  • 42d1dd4fe9 update README files; decrufting Meredith L. Patterson 2014-01-05 02:07:14 +01:00
  • 0ee77d776f make dotnet tests run for 'test' target Meredith L. Patterson 2014-01-05 01:57:19 +01:00
  • 4cdf99a807 need newer mono; trying 3.2 first Meredith L. Patterson 2014-01-05 01:42:54 +01:00
  • 4826a70883 find nunit location automagically Meredith L. Patterson 2014-01-05 01:29:20 +01:00
  • 2bf5acd26c nunit-console and nunit? ok, fine Meredith L. Patterson 2014-01-05 00:31:37 +01:00
  • 39cec8715d also nunit Meredith L. Patterson 2014-01-05 00:23:25 +01:00
  • 1b9de324c3 also need mono-mcs Meredith L. Patterson 2014-01-05 00:12:22 +01:00
  • e0bfb335ea add .NET bindings to travis Meredith L. Patterson 2014-01-05 00:04:11 +01:00
  • 232a97acce Merge pull request #18 from thequux/dotnet-bindings Meredith L. Patterson 2014-01-04 14:47:15 -08:00
  • 692f914986 Fixed registry test case Dan Hirsch 2014-01-04 23:39:59 +01:00
  • 3da3e70f65 Got action and attr_bool working Dan Hirsch 2014-01-04 23:08:44 +01:00
  • ebb7b677ba Added handwritten test for h_action to C# Dan Hirsch 2014-01-04 22:11:32 +01:00
  • feaf1a7e06 DotNet bindings mostly work Dan Hirsch 2013-12-19 18:40:59 +01:00
  • 14a5c5c1ef Test suite now builds Dan Hirsch 2013-12-16 18:47:42 +01:00
  • ee751a97c1 Added CSharp code generator for test suite generator Dan Hirsch 2013-12-16 16:00:34 +01:00
  • a219ffc45d Have a typemap for uint8_t* Dan Hirsch 2013-12-16 15:52:24 +01:00
  • cbdff5fbc0 Added basic scons/swig bindings Dan Hirsch 2013-12-09 13:54:23 +01:00
  • d78cde3830 Added csharp builder to scons Dan Hirsch 2013-12-09 13:22:43 +01:00
  • b808658613 add info about php bindings Meredith L. Patterson 2013-12-22 09:48:24 -08:00
  • 1d693e4f16 Merge pull request #86 from abiggerhammer/php-bindings TQ Hirsch 2013-12-22 09:45:41 -08:00
  • ecfe8a64d6 tidying php-bindings directory and travis output Meredith L. Patterson 2013-12-22 18:27:59 +01:00
  • 10dffd3ee4 trying to fix missing function name for call_action Meredith L. Patterson 2013-12-22 17:42:14 +01:00
  • 9ea27e9203 let's see what config travis uses, shall we? Meredith L. Patterson 2013-12-21 19:59:48 +01:00
  • 500257d111 remove spurious TSRMLS_CC Meredith L. Patterson 2013-12-21 19:57:23 +01:00
  • c52e8bdbf0 no, it's perl that needs 2.0.8 Meredith L. Patterson 2013-12-21 19:47:13 +01:00
  • d6dbf4ba41 SWIG doesn't like adding TSRMLS_* macros to fn decls, so TSRMLS_FETCH it is Meredith L. Patterson 2013-12-21 19:46:57 +01:00
  • c67391cfbb what happens when we call hpt_to_php with TSRMLS_CC? Meredith L. Patterson 2013-12-21 18:55:44 +01:00
  • bb58af5738 ok, outside of the init block then Meredith L. Patterson 2013-12-21 16:08:28 +01:00
  • 838bf54aa0 what happens if we declare tsrm_ls explicitly at global scope? Meredith L. Patterson 2013-12-21 16:06:12 +01:00
  • 1f256ac7c8 this may be fixed on 2.0.4 but not 2.0.8? https://groups.google.com/forum/#!topic/librets/uN0UKRO7juE Meredith L. Patterson 2013-12-21 16:01:13 +01:00
  • 203bb85b65 apparently zts needs a TSRMLS_C declaration for invocations of zend_exception_get_default() Meredith L. Patterson 2013-12-21 15:41:14 +01:00
  • 80eed33825 use only zend_throw_exception, not SWIG exception wrappers Meredith L. Patterson 2013-12-21 15:27:57 +01:00
  • 8286ce087d hpt_to_php needs TSRMLS_FETCH too; update swig to version perl uses Meredith L. Patterson 2013-12-18 14:55:26 +01:00
  • 4826607e67 add TSRMLS_FETCH at top of blocks that need tsrm_ls Meredith L. Patterson 2013-12-18 14:36:00 +01:00
  • f9eebda673 fix segfault with optimized code; initialize TSRM stuff Meredith L. Patterson 2013-12-18 14:25:52 +01:00
  • b9ce12f3b6 Great PHP Symbol Renaming; debug build works, optimised build segfaults. is it gcc? fuck it all and let travis sort it out Meredith L. Patterson 2013-12-18 00:32:56 +01:00
  • bd48af7b90 implement predicate; decruft; quiet phpunit Meredith L. Patterson 2013-12-16 13:42:14 +01:00
  • c2cde65764 xor uses correct version of ch_range; commented out broken underlying C bits of leftrec Meredith L. Patterson 2013-12-16 13:21:27 +01:00
  • 2730d9ffd7 fix ch_range; confirm action works with sequences too Meredith L. Patterson 2013-12-16 13:18:54 +01:00
  • 6c9410d8de action works! need to clean up xor and ch_range, and write attr_bool Meredith L. Patterson 2013-12-16 13:13:17 +01:00