Commit graph

13 commits

Author SHA1 Message Date
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
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
Dan Hirsch
294bca3fce Cleaned up python bindings interface a bit; now returns strings rather than character codes if appropriate 2013-11-23 19:53:58 -06:00
Meredith L. Patterson
8b6d6084c5 fixed the segfault! hand-initialized HParser needed PB_MIN set. 2013-11-23 13:36:54 -06:00
Meredith L. Patterson
12bb5cac36 more verbose tests; should run w/o hammer installed system-wide 2013-11-23 13:33:24 -06:00
Meredith L. Patterson
96760f1daf kindasorta working. all tests (except h_action and h_attr_bool, need typemaps) have passed at one time or another, but some segfault at not-quite-random; h_and, h_epsilon_p, h_end_p, h_ignore, h_not, maybe h_choice seem culprity. 2013-11-23 13:33:24 -06:00
Meredith L. Patterson
073d6d8a27 python tests baked into scons; h_ch needs the first char of its input string as its input 2013-11-23 13:33:24 -06:00
Meredith L. Patterson
4bd2fc9e72 sync with php-bindings SConscript 2013-11-23 13:33:24 -06:00
Meredith L. Patterson
27f94dbe61 helps to link against the library... 2013-11-23 13:33:24 -06:00
Meredith L. Patterson
77d48e2b7c SWIG python bindings, has same typemap problem as PHP 2013-11-23 13:33:24 -06:00