Commit graph

  • f1a5844523 Ignore pyc files Joe Rozner 2013-11-20 13:26:00 -08:00
  • dbe0785e2c Remove pyc file Joe Rozner 2013-11-20 13:25:09 -08:00
  • d1394ea558 Merge pull request #55 from jrozner/master TQ Hirsch 2013-11-20 13:16:25 -08:00
  • f220524b5a Generate pkg-config for Hammer Joe Rozner 2013-11-20 13:04:07 -08:00
  • 76b445ddb1 Merge pull request #52 from thequux/token-registry Meredith L. Patterson 2013-11-19 20:29:12 -08:00
  • 4e035751c9 Merge pull request #53 from abiggerhammer/static-analysis TQ Hirsch 2013-11-19 20:22:26 -08:00
  • 91221ac256 tweak SConstruct so that 'scan-build scons' works Meredith L. Patterson 2013-11-19 20:46:34 -06:00
  • b4e28ac021 Fixed a potential segfault; hand-initialized HParsers in h_choice and h_sequence need PB_MIN set. Meredith L. Patterson 2013-11-19 19:05:48 -06:00
  • 4811f58374 Added token type registry. Closes #45 Dan Hirsch 2013-11-19 21:14:39 -06:00
  • 31f283e720 Fixed TestRightrec Meredith L. Patterson 2013-11-19 19:10:56 -06:00
  • 6e456e3daa more verbose tests; should run w/o hammer installed system-wide Meredith L. Patterson 2013-11-19 17:26:01 -06:00
  • eb1cee7dee travis needs python-nose to run nosetests Meredith L. Patterson 2013-11-19 03:45:49 -06:00
  • 2e0c56f403 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. Meredith L. Patterson 2013-11-19 02:41:45 -06:00
  • 5ced9fe9d5 h_sequence, h_choice and HCountedSequence are all having weird issues, but tests are in a workable format now Meredith L. Patterson 2013-11-19 00:18:25 -06:00
  • 2d459282d4 there's the uint8_t problem (mostly) sorted Meredith L. Patterson 2013-11-18 21:50:28 -06:00
  • b979f66c21 python tests baked into scons; h_ch needs the first char of its input string as its input Meredith L. Patterson 2013-11-18 21:14:44 -06:00
  • 6746df20db typemap to fix conversion from python strings to uint8_t* Meredith L. Patterson 2013-11-18 17:19:46 -06:00
  • 8fcad1e72a sync with php-bindings SConscript Meredith L. Patterson 2013-11-17 20:56:03 -06:00
  • 150e91537b helps to link against the library... Meredith L. Patterson 2013-11-17 20:41:56 -06:00
  • 55af8ac287 fix travis config here too Meredith L. Patterson 2013-11-17 20:31:10 -06:00
  • c58a722aef SWIG python bindings, has same typemap problem as PHP Meredith L. Patterson 2013-11-17 20:26:51 -06:00
  • 551645e980 There's a typemap problem between const uint8_t* and target-language strings, but I can create parsers in python and php. Meredith L. Patterson 2013-11-17 15:55:38 -06:00
  • 902ca46b4d SWIG bindings build, compile, and appear to work for python. Will port over tests next. Meredith L. Patterson 2013-11-16 20:24:05 +01:00
  • 21f16ebefd invoke swig with relative path instead, -I../../ Meredith L. Patterson 2013-11-16 08:15:01 +01:00
  • eb04069817 fixed nested unions Meredith L. Patterson 2013-11-16 08:12:29 +01:00
  • 34062d50a2 Import combinator and allocator APIs into SWIG. Next is glue. Need to fix unions in HParsedToken and HCaseResult. Meredith L. Patterson 2013-11-16 07:56:47 +01:00
  • 4330a426e9 Finished writing unit tests. Fixed a few small bugs in hammer.py. Further issues: Meredith L. Patterson 2013-11-14 15:50:58 +01:00
  • c58555d6a9 Added a few tests Dan Hirsch 2013-11-12 19:07:32 -06:00
  • a99d7a18d1 Added auto-construction, tidied h_ch a bit Dan Hirsch 2013-11-08 17:20:00 -05:00
  • a4dbfc61f2 Working python bindings Dan Hirsch 2013-11-07 22:34:27 -05:00
  • 42270b613d Add CFFI python bindings Dan Hirsch 2013-11-01 18:01:44 -04:00
  • 87581e09cb We declared some functions that were never implemented. Implement them. Dan Hirsch 2013-11-01 18:00:50 -04:00
  • c32c5cf5ea Fixed a potential segfault; hand-initialized HParsers in h_choice and h_sequence need PB_MIN set. Meredith L. Patterson 2013-11-19 19:05:48 -06:00
  • 10c8b0bd22 fixed the segfault! hand-initialized HParser needed PB_MIN set. Meredith L. Patterson 2013-11-19 19:00:58 -06:00
  • 62af9f6222 more verbose tests; should run w/o hammer installed system-wide Meredith L. Patterson 2013-11-19 17:26:01 -06:00
  • 9e44bea920 commenting out assert for debugging purposes Meredith L. Patterson 2013-11-19 12:37:30 -06:00
  • 656f4546dd travis needs python-nose to run nosetests Meredith L. Patterson 2013-11-19 03:45:49 -06:00
  • ccacccb750 Rewrote test_leftrec to mirror test_rightrec. It fails differently for packrat now! Meredith L. Patterson 2013-11-19 03:31:59 -06:00
  • 8681600365 working on fixing leftrec for packrat Meredith L. Patterson 2013-11-19 03:29:44 -06:00
  • cec4659baa 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. Meredith L. Patterson 2013-11-19 02:41:45 -06:00
  • f3ce2fc7de h_sequence, h_choice and HCountedSequence are all having weird issues, but tests are in a workable format now Meredith L. Patterson 2013-11-19 00:18:25 -06:00
  • d1b71779e1 there's the uint8_t problem (mostly) sorted Meredith L. Patterson 2013-11-18 21:50:28 -06:00
  • e8b2c17026 python tests baked into scons; h_ch needs the first char of its input string as its input Meredith L. Patterson 2013-11-18 21:14:44 -06:00
  • 83fdfd93fd typemap to fix conversion from python strings to uint8_t* Meredith L. Patterson 2013-11-18 17:19:46 -06:00
  • f1e6e1fa95 sync with php-bindings SConscript Meredith L. Patterson 2013-11-17 20:56:03 -06:00
  • 0eab911258 helps to link against the library... Meredith L. Patterson 2013-11-17 20:41:56 -06:00
  • 6effa7ae3e fix travis config here too Meredith L. Patterson 2013-11-17 20:31:10 -06:00
  • 804b8f7bd1 SWIG python bindings, has same typemap problem as PHP Meredith L. Patterson 2013-11-17 20:26:51 -06:00
  • a5da580457 There's a typemap problem between const uint8_t* and target-language strings, but I can create parsers in python and php. Meredith L. Patterson 2013-11-17 15:55:38 -06:00
  • fc63ee5d1b SWIG bindings build, compile, and appear to work for python. Will port over tests next. Meredith L. Patterson 2013-11-16 20:24:05 +01:00
  • c54f63871a invoke swig with relative path instead, -I../../ Meredith L. Patterson 2013-11-16 08:15:01 +01:00
  • 529aa3e1a3 fixed nested unions Meredith L. Patterson 2013-11-16 08:12:29 +01:00
  • 9061318dd6 Import combinator and allocator APIs into SWIG. Next is glue. Need to fix unions in HParsedToken and HCaseResult. Meredith L. Patterson 2013-11-16 07:56:47 +01:00
  • c369526a4c Merge branch 'master' of https://github.com/UpstandingHackers/hammer into swig Meredith L. Patterson 2013-11-16 05:30:05 +01:00
  • b6098075c7 Merge pull request #50 from thequux/conditional-varargs-in-header Meredith L. Patterson 2013-11-15 20:29:48 -08:00
  • cfc633422c Add internal conditional to not use stdarg.h for SWIG use Dan Hirsch 2013-11-15 21:55:57 -06:00
  • 6e8542e21b Merge pull request #48 from pete-/master Meredith L. Patterson 2013-11-15 12:23:05 -08:00
  • c8fc061ea6 Ditch longs and long longs in favor of stdint.h types, which has cascading effects throughout, including use of inttypes.h/PRI[ud]64 because printf() is still stuck in a long world, conversion of %lu to %zu for printing values of type size_t, and changing/renaming the g_check_cmp* family of functions. Peter Johnson 2013-11-15 00:12:57 -05:00
  • c9c282dcb4 Finished writing unit tests. Fixed a few small bugs in hammer.py. Further issues: Meredith L. Patterson 2013-11-14 15:50:58 +01:00
  • 06aa19e206 Added a few tests Dan Hirsch 2013-11-12 19:07:32 -06:00
  • f0a24ee4d0 Merge pull request #46 from jrozner/master TQ Hirsch 2013-11-08 17:40:19 -08:00
  • b111190596 Clean up ENV Joe Rozner 2013-11-08 17:36:59 -08:00
  • fb015b4a98 Fix SCons bugs Joe Rozner 2013-11-08 16:30:08 -08:00
  • 390bbd32f1 Added auto-construction, tidied h_ch a bit Dan Hirsch 2013-11-08 17:20:00 -05:00
  • 8928c04456 Working python bindings Dan Hirsch 2013-11-07 22:34:27 -05:00
  • f8604f5c76 Add CFFI python bindings Dan Hirsch 2013-11-01 18:01:44 -04:00
  • 78b7904c5a We declared some functions that were never implemented. Implement them. Dan Hirsch 2013-11-01 18:00:50 -04:00
  • 035e0c0ba2 Merge pull request #43 from thequux/g-check-parse-ok Meredith L. Patterson 2013-11-01 10:40:49 -07:00
  • 71209dc97b Changed parser test macros so that _parse_ok just checks whether the match succeeded and _parse_match actually checks the resulting parse tree Dan Hirsch 2013-11-01 13:39:37 -04:00
  • cd067aab74 Merge pull request #42 from thequux/standalone-test-suite Meredith L. Patterson 2013-11-01 10:28:11 -07:00
  • ce0829de33 Made test-suite work on its own Dan Hirsch 2013-11-01 12:39:01 -04:00
  • 274cbe38a9 Merge pull request #41 from thequux/install-target TQ Hirsch 2013-10-31 11:42:12 -07:00
  • eb44b804bd update usage instructions to assume system-wide install; this will change later, but is accurate now. Meredith L. Patterson 2013-10-29 17:48:29 -04:00
  • 46d6237790 Update README.md with install target instructions Meredith L. Patterson 2013-10-29 17:44:46 -04:00
  • 64b5e307d2 Added install target Dan Hirsch 2013-10-29 17:35:37 -04:00
  • 4361c16c7e Merge pull request #39 from thequux/binding-support TQ Hirsch 2013-10-28 07:22:40 -07:00
  • cccb5f09ec Added build system for C++ Dan Hirsch 2013-09-12 10:39:50 -07:00
  • 94924da87e Allowed build to grab tools from PATH Dan Hirsch 2013-10-28 09:35:44 -04:00
  • a88ebfb772 we support OS X now! Meredith L. Patterson 2013-10-18 03:26:27 -07:00
  • 43f1d70a5f Merging JakobR's OS X build changes. Meredith L. Patterson 2013-10-18 12:14:18 +02:00
  • 75dc4710a4 Removing coveralls, as it's not working for clang. Meredith L. Patterson 2013-10-16 18:08:09 -07:00
  • 2f7f7d6fc4 Merge pull request #36 from thequux/codecoverage Meredith L. Patterson 2013-09-13 01:25:10 -07:00
  • 04ba15d9f2 Added coverage support Dan Hirsch 2013-09-13 01:14:40 -07:00
  • 0db4925469 Revert "C++ tests set up. They probably don't compile; need to write iostream ops for prettyprinting and set up C++ build in scons." Should have branched it. Meredith L. Patterson 2013-09-03 05:33:30 +02:00
  • 6a29277db4 C++ tests set up. They probably don't compile; need to write iostream ops for prettyprinting and set up C++ build in scons. Meredith L. Patterson 2013-09-03 05:32:21 +02:00
  • 691f3fb547 Many apparently requires a template specialization. This is absurd, but whatever. I'll ask stackoverflow. Meredith L. Patterson 2013-08-11 01:13:07 +02:00
  • 2e76cf2acf and now in_range works too. YEAH. Meredith L. Patterson 2013-08-09 22:49:16 +02:00
  • 2408106191 C++ bindings getting underway. Meredith L. Patterson 2013-08-09 18:45:26 +02:00
  • 59c8944ed9 Add build status info from travis-ci Meredith L. Patterson 2013-07-11 17:39:53 -07:00
  • a7e4def944 Merge remote-tracking branch 'thequux/master' Meredith L. Patterson 2013-07-12 02:11:14 +02:00
  • ab0e0463c9 add -lrt to build flags for clock_gettime Meredith L. Patterson 2013-07-12 02:02:41 +02:00
  • 65e688db5a Fixed clang implicit type cast warning Dan Hirsch 2013-07-11 23:44:28 +02:00
  • e97860f91b Merge branch 'master' of https://github.com/UpstandingHackers/hammer Meredith L. Patterson 2013-07-11 23:23:11 +02:00
  • 2356276bc1 Merge pull request #34 from thequux/master Meredith L. Patterson 2013-07-11 14:20:42 -07:00
  • 6a5487b9b8 Fixed a build warning due to ignoring the return value of asprintf. Dan Hirsch 2013-07-11 23:18:25 +02:00
  • c583c6c68a tweak gitignore - is that what's fucking up travis-ci? Meredith L. Patterson 2013-07-11 23:00:42 +02:00
  • 07f569282c add irc notification to travis-ci Meredith L. Patterson 2013-07-11 22:52:59 +02:00
  • becaf976c3 Merge branch 'master' of https://github.com/UpstandingHackers/hammer Meredith L. Patterson 2013-07-11 22:40:26 +02:00
  • 4f229e9b50 add travis-ci support Meredith L. Patterson 2013-07-11 22:39:06 +02:00
  • b0f567c090 Added new build system Dan Hirsch 2013-07-10 21:32:05 +02:00