Commit graph

  • 759fbe77e5 C++ bindings needed to use system_allocator's free() too Meredith L. Patterson 2015-08-02 22:03:30 +02:00
  • 6bffacefaf fix memory leak introduced by putting setjmp in the wrong place Meredith L. Patterson 2015-08-02 21:46:57 +02:00
  • 1ffd8d9276 Fix undefined behaviour around system_allocator, issue #133. Meredith L. Patterson 2015-08-02 21:32:47 +02:00
  • 0653a9e48a add explicit null checks to system_allocator malloc/realloc Meredith L. Patterson 2015-08-02 14:34:45 +02:00
  • f69698d734 Merge pull request #135 from uucidl/master TQ Hirsch 2015-08-01 13:52:48 +02:00
  • 2a6233b74f Print user defined token type while pretty printing Nicolas Léveillé 2015-08-01 13:41:04 +02:00
  • 9030136d08 Merge pull request #132 from abiggerhammer/master TQ Hirsch 2015-07-26 18:15:50 +02:00
  • 522bc7cf05 Merge branch 'master' of github.com:abiggerhammer/hammer Meredith L. Patterson 2015-05-04 19:01:05 -04:00
  • 39c9096fd6 changes from tutorial: add h_literal, make h_make_bytes more practical Meredith L. Patterson 2015-05-04 19:00:37 -04:00
  • 33af1ec65c Merge pull request #131 from michiexile/master Meredith L. Patterson 2015-04-11 01:16:25 +02:00
  • d13657a411 Changed generating functions printouts to be copy-paste-able into SageMath. Mikael Vejdemo-Johansson 2015-04-10 10:05:19 +02:00
  • a72aff9b39 refactored out the grammar handling. handles epsilons better Mikael Vejdemo-Johansson 2015-04-08 17:32:12 +02:00
  • 24e9e9de7f support naming of generating functions, and 0-weighting of symbols Mikael Vejdemo-Johansson 2015-04-08 15:29:32 +02:00
  • 1e95eac6cd removed h_repeat_n to enable desugaring Mikael Vejdemo-Johansson 2015-04-08 14:06:58 +02:00
  • 5100dc69da typo Mikael Vejdemo-Johansson 2015-04-08 13:54:30 +02:00
  • 8039d48537 removed use of h_many to get desugars Mikael Vejdemo-Johansson 2015-04-08 13:53:45 +02:00
  • 61a211559e fixed build errors wrt sentinels Mikael Vejdemo-Johansson 2015-04-08 13:46:42 +02:00
  • 9a1812bd49 added ties to build script Mikael Vejdemo-Johansson 2015-04-08 13:44:14 +02:00
  • 7fdc687bd4 parsers for the grammars in the tieknots paper Mikael Vejdemo-Johansson 2015-04-08 09:33:20 +02:00
  • 6b8a3f262f polished generating function code more Mikael Vejdemo-Johansson 2015-04-07 22:14:32 +02:00
  • 107d8c092b Generating function skeleton code Mikael Vejdemo-Johansson 2015-04-07 22:13:18 +02:00
  • 8043c7f7b4 Merge pull request #24 from UpstandingHackers/master Meredith L. Patterson 2015-03-15 23:29:57 +01:00
  • 26373bf25f Merge pull request #129 from pesco/h_bind Meredith L. Patterson 2015-03-10 21:27:24 +01:00
  • af260bdd58 Merge pull request #122 from mrdomino/fix-res_unamb-leak Meredith L. Patterson 2015-03-10 18:06:01 +01:00
  • aa2dc7bcf5 put the message into the assert in aa_realloc Sven M. Hallberg 2015-03-04 14:54:42 +01:00
  • be80fdedfc make arena-allocator implementation functions static Sven M. Hallberg 2015-03-04 14:52:28 +01:00
  • 9a8dca2c04 Merge branch 'master' of git://github.com/UpstandingHackers/hammer into h_bind Sven M. Hallberg 2015-03-04 14:47:49 +01:00
  • 1ce0ef9b8a pass a temporary arena allocator to the continuation in h_bind Sven M. Hallberg 2015-02-23 14:10:29 +01:00
  • 4e8d319d0e Merge pull request #126 from pesco/fix-h_read_bits-48 TQ Hirsch 2015-02-13 17:25:43 +01:00
  • 2eaf5d9052 add some missing type conversions to make h_read_bits work with count>32 Sven M. Hallberg 2015-02-12 01:40:45 +01:00
  • 8aba9ce217 Merge pull request #125 from pesco/fix-h_seq_index_path Meredith L. Patterson 2015-01-30 21:37:34 +01:00
  • 7ba5931095 Merge branch 'master' of git://github.com/UpstandingHackers/hammer into h_bind Sven M. Hallberg 2015-01-30 20:48:49 +01:00
  • 12771a5655 oh, there's t_regression.c now, neat. Sven M. Hallberg 2015-01-30 20:42:11 +01:00
  • 3f197ea1b0 Merge branch 'master' of git://github.com/UpstandingHackers/hammer into fix-h_seq_index_path Sven M. Hallberg 2015-01-30 20:37:26 +01:00
  • 341123e2ea descend properly in h_seq_index_path Sven M. Hallberg 2015-01-30 20:36:37 +01:00
  • cbc7358b66 add a test that shows a bug in h_seq_index_path Sven M. Hallberg 2015-01-30 20:35:35 +01:00
  • c9b2957832 add g_check_cmp_int Sven M. Hallberg 2015-01-30 20:35:14 +01:00
  • 78266af453 allow h_bind's function argument to return NULL as a shortcut for h_nothing_p() Sven M. Hallberg 2015-01-23 22:06:43 +01:00
  • 42d51ed479 add monadic bind combinator h_bind Sven M. Hallberg 2015-01-23 18:59:30 +01:00
  • a0104776ed Free res_unamb Steven Dee 2015-01-04 21:37:21 -05:00
  • 5efaba87e8 Merge pull request #120 from thequux/fix-bug118 Meredith L. Patterson 2015-01-04 04:18:11 +01:00
  • b2f247b029 Merge pull request #116 from mrdomino/h-validate-apply Meredith L. Patterson 2015-01-04 04:12:06 +01:00
  • af73181cf4 Fix #118 TQ Hirsch 2015-01-04 04:00:09 +01:00
  • 2dad0c48b4 H_VALIDATE_APPLY macro Steven Dee 2015-01-03 16:42:45 -05:00
  • 5abe74f890 Retab as though tabstop were 8 Steven Dee 2015-01-03 16:35:56 -05:00
  • 58af99ae40 Merge pull request #114 from mrdomino/llvm-attr-malloc Meredith L. Patterson 2014-12-30 00:18:53 +01:00
  • f78054708c Merge pull request #111 from mrdomino/pkg-config-path Meredith L. Patterson 2014-12-30 00:18:25 +01:00
  • 47f34b81e4 Merge pull request #112 from mrdomino/fix-base64 Meredith L. Patterson 2014-12-07 22:21:04 +01:00
  • 735131ee24 Merge pull request #110 from mrdomino/move-unreferenced-var Meredith L. Patterson 2014-12-07 22:20:03 +01:00
  • b1078c3d88 llvm doesn't care about your size Steven Dee 2014-12-07 02:23:01 -05:00
  • 73d42eedac Build with -std=c99 Steven Dee 2014-12-07 02:08:38 -05:00
  • 8d5f00870f Remove vacuous states in base64_sem?.c Steven Dee 2014-11-30 19:08:36 -05:00
  • 70fa455c03 Fix compilation when PKG_CONFIG_PATH is not in environ Steven Dee 2014-11-30 19:18:09 -05:00
  • f2434d5b12 Move backend names into src/benchmark.c Steven Dee 2014-12-07 00:09:54 -05:00
  • 9faa4cf675 Merge pull request #109 from mrdomino/readme-user-guide Meredith L. Patterson 2014-12-01 01:38:18 +01:00
  • 011efe8cfb Mention user guide in README Steven Dee 2014-11-30 19:23:29 -05:00
  • e7aa73446e Merge pull request #107 from sjmackenzie/master Meredith L. Patterson 2014-10-29 05:40:13 +01:00
  • e057e8cb1b Scons now doesn't throw away /home/stewart/.nix-profile/lib/pkgconfig:/nix/var/nix/profiles/default/lib/pkgconfig:/run/current-system/sw/lib/pkgconfig, so NixOS can build it stewart 2014-10-29 10:32:21 +08:00
  • 0dff293f6a Merge pull request #106 from pesco/98-permutation-combinator Meredith L. Patterson 2014-06-19 11:38:50 +02:00
  • 41dca83631 add h_permutation Sven M. Hallberg 2014-06-18 21:54:52 +02:00
  • c7161663c0 Merge pull request #105 from abiggerhammer/value TQ Hirsch 2014-05-12 01:29:44 -07:00
  • 6bdaab552b merge from upstream Meredith L. Patterson 2014-05-12 09:55:36 +02:00
  • eb6c74cf89 h_put_value and h_get_value done. Meredith L. Patterson 2014-05-12 09:45:22 +02:00
  • 702e82f1c1 h_put_value and h_get_value done. Meredith L. Patterson 2014-05-12 09:45:22 +02:00
  • 5679939a2c Merge pull request #104 from abiggerhammer/master TQ Hirsch 2014-05-11 14:56:31 -07:00
  • fcd729ef60 change pointer type to uintptr_t for portability Meredith L. Patterson 2014-05-11 23:41:54 +02:00
  • a3d8150dd0 Merge pull request #103 from pesco/77-endian-combinator Meredith L. Patterson 2014-05-07 23:29:39 +02:00
  • bf50ffcd84 tab correction Sven M. Hallberg 2014-05-07 19:29:25 +02:00
  • 4a90a0be66 fix h_read_bits path for BYTE_LITTLE_ENDIAN Sven M. Hallberg 2014-05-07 19:24:58 +02:00
  • 5f920b29f8 add h_with_endianness() Sven M. Hallberg 2014-05-07 19:24:26 +02:00
  • 4f188340be replaced man page as asciidoc instead of groff, changed to section 3 man page fbz 2014-04-29 11:51:08 -04:00
  • c328bff80c a first edit of a man page for hammer fbz 2014-04-25 11:47:30 +02:00
  • f701ec2518 Merge pull request #102 from thequux/ports Meredith L. Patterson 2014-04-22 15:45:28 +02:00
  • 22d125bfab Added NetBSD and OpenBSD ports TQ Hirsch 2014-04-22 15:04:26 +02:00
  • 4f9efcd726 Merge pull request #101 from abiggerhammer/master TQ Hirsch 2014-04-20 21:50:59 +02:00
  • 27f08df1d3 fix infinite loop in isValidCF with indirect Meredith L. Patterson 2014-04-20 21:40:09 +02:00
  • bab376cab7 fix non-resizable hashtable Meredith L. Patterson 2014-04-20 21:00:50 +02:00
  • eb04842d85 slightly nicer benchmark output Meredith L. Patterson 2014-04-20 17:31:21 +02:00
  • 1d12f9ffac regex_compile should return -1 if not a regular grammar; give backends names Meredith L. Patterson 2014-04-20 17:23:25 +02:00
  • c9419f4c34 CF backends weren't checking whether a grammar is CF; they are now. Also, brace-fixing. Meredith L. Patterson 2014-04-20 16:57:01 +02:00
  • d947c6aede Merge branch 'master' of http://github.com/UpstandingHackers/hammer Meredith L. Patterson 2014-04-20 00:46:37 +02:00
  • 6cf41c6408 Merge pull request #100 from thequux/openbsd Meredith L. Patterson 2014-04-14 00:55:56 +02:00
  • cc4ded8914 Ported to OpenBSD. TQ Hirsch 2014-04-13 22:29:49 +00:00
  • 2c405f40a9 Merge pull request #99 from thequux/nbsd Meredith L. Patterson 2014-04-14 00:01:52 +02:00
  • 849178d60b Ported to NetBSD (2/2): Add casts for character class detection TQ Hirsch 2014-03-13 17:56:01 +00:00
  • 426a3f8468 Ported to NetBSD (1/2): Replaced Linux-specific timer call TQ Hirsch 2014-03-13 17:48:39 +00:00
  • 5270484839 Merge pull request #97 from thequux/freebsd Meredith L. Patterson 2014-04-13 12:30:07 +02:00
  • 2f479a010d Made mono tool only get loaded when the dotnet bindings are getting built TQ Hirsch 2014-04-12 21:44:10 -07:00
  • 70da67adb5 Merge pull request #94 from pesco/fix-49-stringmap-segfault Meredith L. Patterson 2014-04-10 23:40:28 +02:00
  • f95dc6cd7d Merge pull request #93 from pesco/fix-left-recursion fbz 2014-04-10 22:54:19 +02:00
  • 9be91f3b33 Merge pull request #95 from thequux/freebsd Meredith L. Patterson 2014-04-04 01:25:34 +02:00
  • 20f909ec91 Added FreeBSD port TQ Hirsch 2014-04-03 06:41:01 +00:00
  • 6875dc3e53 retab Sven M. Hallberg 2014-03-24 17:30:23 +01:00
  • 797bdb7224 copy source stringmap as necessary in stringmap_merge Sven M. Hallberg 2014-03-24 17:22:52 +01:00
  • 0970b15034 add function h_stringmap_copy Sven M. Hallberg 2014-03-24 17:22:32 +01:00
  • 2b31fb0f33 assert: stringmap_merge's arguments should use the same memory arena Sven M. Hallberg 2014-03-24 15:49:36 +01:00
  • 4a973d3f98 enable leftrec-ne test for LALR and GLR backends Sven M. Hallberg 2014-03-21 22:39:13 +01:00
  • 5af0e3e2ba disable test /core/parser/packrat/leftrec Sven M. Hallberg 2014-03-21 22:37:39 +01:00
  • 0fb744b16d rename leftrec_nonempty test to leftrec-ne Sven M. Hallberg 2014-03-21 22:34:39 +01:00
  • f4afd0cb8d more leftrec fixes: head caching and input rewinding Sven M. Hallberg 2014-03-21 20:54:33 +01:00