Commit graph

925 commits

Author SHA1 Message Date
Jakob Rath
d3ff5f5b1e Define choice and sequence with define_parser method. 2014-01-08 20:18:07 +01:00
Jakob Rath
5ea0b727d0 Don't use C extensions (JRuby compatibility). 2014-01-08 20:18:07 +01:00
Jakob Rath
049a64946b Fix indentation. 2014-01-08 20:18:07 +01:00
Jakob Rath
3f661b91e3 Duplicate string argument to token parser. 2014-01-08 20:18:07 +01:00
Jakob Rath
7bdd8b7ce2 Free parse result. 2014-01-08 20:18:07 +01:00
Jakob Rath
6e34e0c8fb Remove Hammer::Parser subclasses. 2014-01-08 20:18:07 +01:00
Jakob Rath
daeabb587d Need rake-compiler gem. 2014-01-08 20:18:07 +01:00
Jakob Rath
6368214fce Add first version of ruby bindings. 2014-01-08 20:18:07 +01:00
TQ Hirsch
ae0158a1cd Merge pull request #87 from abiggerhammer/master
.NET bindings
2014-01-04 17:29:10 -08:00
Meredith L. Patterson
42d1dd4fe9 update README files; decrufting 2014-01-05 02:07:14 +01:00
Meredith L. Patterson
0ee77d776f make dotnet tests run for 'test' target 2014-01-05 01:57:19 +01:00
Meredith L. Patterson
4cdf99a807 need newer mono; trying 3.2 first 2014-01-05 01:42:54 +01:00
Meredith L. Patterson
4826a70883 find nunit location automagically 2014-01-05 01:29:20 +01:00
Meredith L. Patterson
2bf5acd26c nunit-console and nunit? ok, fine 2014-01-05 00:31:37 +01:00
Meredith L. Patterson
39cec8715d also nunit 2014-01-05 00:23:25 +01:00
Meredith L. Patterson
1b9de324c3 also need mono-mcs 2014-01-05 00:12:22 +01:00
Meredith L. Patterson
e0bfb335ea add .NET bindings to travis 2014-01-05 00:04:11 +01:00
Meredith L. Patterson
232a97acce Merge pull request #18 from thequux/dotnet-bindings
Dotnet bindings.
2014-01-04 14:47:15 -08:00
Dan Hirsch
692f914986 Fixed registry test case 2014-01-04 23:39:59 +01:00
Dan Hirsch
3da3e70f65 Got action and attr_bool working 2014-01-04 23:13:35 +01:00
Dan Hirsch
ebb7b677ba Added handwritten test for h_action to C# 2014-01-04 23:13:35 +01:00
Dan Hirsch
feaf1a7e06 DotNet bindings mostly work 2014-01-04 23:13:35 +01:00
Dan Hirsch
14a5c5c1ef Test suite now builds 2014-01-04 23:13:35 +01:00
Dan Hirsch
ee751a97c1 Added CSharp code generator for test suite generator 2014-01-04 23:13:35 +01:00
Dan Hirsch
a219ffc45d Have a typemap for uint8_t* 2014-01-04 23:13:35 +01:00
Dan Hirsch
cbdff5fbc0 Added basic scons/swig bindings 2014-01-04 23:13:35 +01:00
Dan Hirsch
d78cde3830 Added csharp builder to scons 2014-01-04 23:13:35 +01:00
Meredith L. Patterson
b808658613 add info about php bindings 2013-12-22 09:48:24 -08:00
TQ Hirsch
1d693e4f16 Merge pull request #86 from abiggerhammer/php-bindings
Php bindings
2013-12-22 09:45:41 -08:00
Meredith L. Patterson
ecfe8a64d6 tidying php-bindings directory and travis output 2013-12-22 18:27:59 +01:00
Meredith L. Patterson
10dffd3ee4 trying to fix missing function name for call_action 2013-12-22 18:12:12 +01:00
Meredith L. Patterson
9ea27e9203 let's see what config travis uses, shall we? 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
500257d111 remove spurious TSRMLS_CC 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
c52e8bdbf0 no, it's perl that needs 2.0.8 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
d6dbf4ba41 SWIG doesn't like adding TSRMLS_* macros to fn decls, so TSRMLS_FETCH it is 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
c67391cfbb what happens when we call hpt_to_php with TSRMLS_CC? 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
bb58af5738 ok, outside of the init block then 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
838bf54aa0 what happens if we declare tsrm_ls explicitly at global scope? 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
1f256ac7c8 this may be fixed on 2.0.4 but not 2.0.8? https://groups.google.com/forum/#!topic/librets/uN0UKRO7juE 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
203bb85b65 apparently zts needs a TSRMLS_C declaration for invocations of zend_exception_get_default() 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
80eed33825 use only zend_throw_exception, not SWIG exception wrappers 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
8286ce087d hpt_to_php needs TSRMLS_FETCH too; update swig to version perl uses 2013-12-22 18:12:11 +01:00
Meredith L. Patterson
4826607e67 add TSRMLS_FETCH at top of blocks that need tsrm_ls 2013-12-22 18:10:47 +01:00
Meredith L. Patterson
f9eebda673 fix segfault with optimized code; initialize TSRM stuff 2013-12-22 18:10:47 +01:00
Meredith L. Patterson
b9ce12f3b6 Great PHP Symbol Renaming; debug build works, optimised build segfaults. is it gcc? fuck it all and let travis sort it out 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
bd48af7b90 implement predicate; decruft; quiet phpunit 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
c2cde65764 xor uses correct version of ch_range; commented out broken underlying C bits of leftrec 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
2730d9ffd7 fix ch_range; confirm action works with sequences too 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
6c9410d8de action works! need to clean up xor and ch_range, and write attr_bool 2013-12-22 18:09:26 +01:00
Meredith L. Patterson
53a661442e swap order of params for hpt_to_php 2013-12-22 18:09:26 +01:00