Meredith L. Patterson
|
0c0805591c
|
minimal working PHP tests, for h_token.
|
2013-12-22 17:58:52 +01:00 |
|
Meredith L. Patterson
|
12d93a315d
|
need to coerce HBytes to PHP string, but this seems to be looking for an object of HBytes class
|
2013-12-22 17:58:52 +01:00 |
|
Meredith L. Patterson
|
8be21c3d28
|
uint8_t* input typemap works for h_token and h_parse
|
2013-12-22 17:58:52 +01:00 |
|
Meredith L. Patterson
|
213f338357
|
argument typemap for token works! next, make it work for parse as well.
|
2013-12-22 17:58:52 +01:00 |
|
Meredith L. Patterson
|
c51b784612
|
scons runs a minimal unit test, which errors. debugging typemaps commences.
|
2013-12-22 17:58:52 +01:00 |
|
Meredith L. Patterson
|
0733700343
|
gonna test these typemaps with the tests I'm gonna write next.
|
2013-12-22 17:57:44 +01:00 |
|
Meredith L. Patterson
|
689ee84415
|
stubbed PHP typemaps
|
2013-12-22 17:57:44 +01:00 |
|
Meredith L. Patterson
|
632aa845a5
|
link here, too
|
2013-12-22 17:57:44 +01:00 |
|
Meredith L. Patterson
|
a0f5b0892b
|
tidying things up a bit
|
2013-12-22 17:57:44 +01:00 |
|
Meredith L. Patterson
|
425c20dd3d
|
that ought to make travis happy
|
2013-12-22 17:57:44 +01:00 |
|
Meredith L. Patterson
|
f3e42ea34e
|
ok, travis wants -Wno-sign-compare too
|
2013-12-22 17:57:44 +01:00 |
|
Meredith L. Patterson
|
517cba9a76
|
scons now puts php binding support files in the correct place
|
2013-12-22 17:54:53 +01:00 |
|
Meredith L. Patterson
|
94d855c516
|
scons builds the SWIG PHP bindings that can create parsers but not parse any input yet
|
2013-12-22 17:54:53 +01:00 |
|
Meredith L. Patterson
|
6daa5367ca
|
removed <code> elements in attempt to fix codegen_pecl output; didn't work
|
2013-12-22 17:54:53 +01:00 |
|
Meredith L. Patterson
|
9c0b1c4bdb
|
./configure succeeds, but make fails; I think CodeGen_PECL is too old or something
|
2013-12-22 17:54:53 +01:00 |
|
Meredith L. Patterson
|
fc4d4337e2
|
pecl-gen succeeds
|
2013-12-22 17:54:53 +01:00 |
|
Meredith L. Patterson
|
576c43330c
|
First cut at PHP bindings; no tests yet.
|
2013-12-22 17:54:53 +01:00 |
|
Meredith L. Patterson
|
9da2636978
|
decrufting
|
2013-12-06 09:41:08 +01:00 |
|
Meredith L. Patterson
|
1e4863d71e
|
makemaker needed a -L to find libhammer.so
|
2013-12-06 09:24:19 +01:00 |
|
Meredith L. Patterson
|
f8933dd5b1
|
add LD_LIBRARY_PATH explicitly
|
2013-12-06 09:10:29 +01:00 |
|
Meredith L. Patterson
|
42a3b05c23
|
add stdbool.h to perl hammer.i to stop bool from being #undef'd
|
2013-12-06 06:24:17 +01:00 |
|
Meredith L. Patterson
|
80b597cfbf
|
move stdbool.h to top level
|
2013-12-06 06:11:48 +01:00 |
|
Meredith L. Patterson
|
8d564af139
|
SWIG docs suggest -DHAS_BOOL
|
2013-12-06 05:59:07 +01:00 |
|
Meredith L. Patterson
|
85000da581
|
put stdbool.h in hammer.h to try and fix perl bindings on travis
|
2013-12-06 04:52:30 +01:00 |
|
Meredith L. Patterson
|
4b86fa1f5a
|
try travis with perl 5.18 instead of 5.14
|
2013-12-06 04:33:40 +01:00 |
|
Meredith L. Patterson
|
f53f474de2
|
try to resolve missing bool/true/false problems with perl bindings
|
2013-12-06 04:27:44 +01:00 |
|
Meredith L. Patterson
|
b794dbf72d
|
SWIGPERL check around bool typedef
|
2013-12-06 04:03:55 +01:00 |
|
Meredith L. Patterson
|
a811b51241
|
use whatever compiler CC says to compile perl bindings
|
2013-12-06 03:55:52 +01:00 |
|
Meredith L. Patterson
|
767afacf6b
|
remove -DHAMMER_INTERNAL__NO_STDARG_H from Makefile.PL too
|
2013-12-06 03:19:45 +01:00 |
|
Meredith L. Patterson
|
baf7aa23e3
|
remove -DHAMMER_INTERNAL__NO_STDARG_H from CFLAGS for perl bindings build
|
2013-12-06 03:16:01 +01:00 |
|
Dan Hirsch
|
fab45fe044
|
Helps to add the perl makefile. Bonus points for including a README
|
2013-12-05 09:58:30 +01:00 |
|
Dan Hirsch
|
01c45d8453
|
Added install target for perl
|
2013-12-05 09:47:45 +01:00 |
|
Dan Hirsch
|
9d0cb859d8
|
Moved building perl binding lib and running test suite to EU::MM Makefile
|
2013-12-05 09:45:26 +01:00 |
|
Dan Hirsch
|
58412ed005
|
Added MakeMaker-based build system for perl bindings
|
2013-12-05 09:35:24 +01:00 |
|
Dan Hirsch
|
2f3bc9c4b0
|
Perl tests are now part of the build system
|
2013-12-05 08:41:28 +01:00 |
|
Dan Hirsch
|
8c44d583e6
|
All tests pass.
|
2013-12-04 04:56:47 +01:00 |
|
Dan Hirsch
|
4199ad8758
|
All tests except attr_bool pass
|
2013-12-04 04:44:07 +01:00 |
|
Dan Hirsch
|
4eebe57908
|
Actions work
|
2013-12-04 01:51:59 +01:00 |
|
Dan Hirsch
|
1d11527924
|
Got perl bindings started
|
2013-12-03 21:29:02 +01:00 |
|
Meredith L. Patterson
|
add92d09ce
|
remove non-working CFFI bindings
|
2013-11-28 21:07:35 -08:00 |
|
Meredith L. Patterson
|
f58ec8ecb7
|
tidying and a README about this part of the build
|
2013-11-26 20:00:55 -08:00 |
|
Meredith L. Patterson
|
79f498cdab
|
python bindings install target works. libhammer.so must be on LD_LIBRARY_PATH.
|
2013-11-26 19:54:09 -08:00 |
|
Meredith L. Patterson
|
20bf8c4b79
|
distutils and working tests!
|
2013-11-26 19:25:41 -08:00 |
|
Meredith L. Patterson
|
53bc886e2f
|
distutils being invoked from scons; ld is failing with 'libhammer.a: archive has no index, run ranlib to add one'
|
2013-11-26 19:09:27 -08:00 |
|
Meredith L. Patterson
|
1e0f3744f8
|
my god, it's a distutils script
|
2013-11-26 18:12:28 -08:00 |
|
Meredith L. Patterson
|
f611a49ab2
|
cpp stuff doesn't belong on python-bindings branch
|
2013-11-26 16:04:13 -08:00 |
|
Meredith L. Patterson
|
1e7553d3df
|
build//src/bindings/python/hammer_tests.py still hangs around but everything else is cleaned up.
|
2013-11-26 15:40:15 -08:00 |
|
Meredith L. Patterson
|
f21954eecd
|
everything's working for new-build except Clean()
|
2013-11-26 15:29:28 -08:00 |
|
Meredith L. Patterson
|
ef235136d9
|
Merge branch 'python-bindings' of https://github.com/abiggerhammer/hammer into python-bindings
Conflicts:
src/bindings/python/SConscript
src/bindings/python/hammer_tests.py
src/bindings/swig/hammer.i
src/hammer.h
src/parsers/choice.c
src/parsers/sequence.c
|
2013-11-26 11:35:55 -08:00 |
|
Meredith L. Patterson
|
2ee82f3ac7
|
Merge branch 'python-bindings' of https://github.com/thequux/hammer into python-bindings
Conflicts:
src/bindings/python/SConscript
src/bindings/python/hammer_tests.py
src/bindings/swig/hammer.i
src/hammer.h
|
2013-11-26 11:25:22 -08:00 |
|