Commit Graph

  • f87ce67e70 Merge branch 'master' of https://github.com/orangeduck/mpc into nparse Sean Anderson 2016-06-29 16:23:31 -04:00
  • 4156d72642 Added function to only parse n bytes from input Sean Anderson 2016-06-29 14:17:46 -04:00
  • 2a19e4c451 Fixed folding of single child asts with tags Daniel Holden 2016-06-11 14:11:19 +01:00
  • 14001ad332 Added test for partial grammar definition Daniel Holden 2016-06-11 12:59:55 +01:00
  • 5f9863ffcd Merge pull request #50 from petermlm/master Daniel Holden 2016-06-05 15:26:43 +01:00
  • 913cc58824 Made traversal free petermlm 2016-05-31 22:32:24 +01:00
  • b93399da33 Merge pull request #52 from Mr-Kumar-Abhishek/dev Daniel Holden 2016-05-04 10:44:15 +01:00
  • e032b410b2 Remove foobar and tree_traversal too while doing 'make clean' Abhishek Kumar 2016-05-04 10:32:02 +05:30
  • 258cf5002b .gitignore examples/tree_traversal Abhishek Kumar 2016-05-04 10:14:59 +05:30
  • 38764e5ecb Merge branch 'tree_trav' petermlm 2016-04-19 23:27:16 +01:00
  • 0b287e6252 Indentation petermlm 2016-04-19 23:26:52 +01:00
  • 0037648c49 Identation petermlm 2016-04-19 23:26:20 +01:00
  • e99b35796c Made example for tree traversal petermlm 2016-04-19 23:21:39 +01:00
  • 719ca68b6c Implemented pre order ast traversal petermlm 2016-04-19 23:14:00 +01:00
  • 9ac854ad5a Made post order tree traversal petermlm 2016-04-19 22:27:32 +01:00
  • 317c2841dd Merge pull request #48 from petermlm/master Daniel Holden 2016-04-18 10:11:27 +01:00
  • aa17e0723e 2 space indentation petermlm 2016-04-17 18:51:04 +01:00
  • af6489125f Merge branch 'child_by_tag' petermlm 2016-04-17 18:46:01 +01:00
  • d8243d01f1 Added example for tree traversal petermlm 2016-04-17 18:44:24 +01:00
  • 97d634a708 Added const to declarations petermlm 2016-04-17 18:43:10 +01:00
  • 2b643c729b Made functions to get child nodes of AST by tag petermlm 2016-04-17 00:17:45 +01:00
  • 4da2ae5feb Updated copy function to work properly with larger parsers Daniel Holden 2016-03-03 10:34:52 +00:00
  • c2908c37bb Added copy function Daniel Holden 2016-02-20 14:44:08 +00:00
  • d9c3a453f2 State needs to be invalid to avoid input being expected Daniel Holden 2015-12-13 13:22:01 +00:00
  • 3ead545ed8 Fixed bug in error reporting Daniel Holden 2015-12-13 13:15:10 +00:00
  • 24a68471ee Merge pull request #40 from alpha123/pedantic-fix-readme Daniel Holden 2015-11-17 22:09:05 +00:00
  • 07fe154100 Fix a minor README error. alpha123 2015-11-17 15:43:25 -07:00
  • 131c8a55d5 Added back in some optimisations to error creation Daniel Holden 2015-11-15 22:13:13 +00:00
  • 227dd442ae Fixed bug in error reporting Daniel Holden 2015-11-15 17:53:10 +00:00
  • 99732cee30 More optimisations including a pool memory allocator and suppression of error generation when not required. Daniel Holden 2015-11-12 15:58:05 +00:00
  • 31889d86c3 Switched parsing to use C function stack Daniel Holden 2015-11-10 20:25:39 +00:00
  • 991a6e4156 Small optimisation Daniel Holden 2015-11-09 15:02:38 +00:00
  • 613fc26729 fixed bug. Reenabled O3. Daniel Holden 2015-11-09 13:34:39 +00:00
  • f8c9429a10 Faster strfold function. Daniel Holden 2015-11-09 13:33:06 +00:00
  • 4932c86ec7 Fixed bug in optimisation pass. Daniel Holden 2015-11-09 12:06:13 +00:00
  • 3c266180c4 Update README.md Daniel Holden 2015-11-07 17:34:47 +00:00
  • 2d111680df update version number Daniel Holden 2015-11-07 16:58:47 +00:00
  • 04a8392077 Merge github.com:orangeduck/mpc Daniel Holden 2015-11-07 16:57:34 +00:00
  • 4472dd4363 Added basic optimise function for parsers. Daniel Holden 2015-11-07 16:57:09 +00:00
  • af81180fa9 Minor performance tweak Daniel Holden 2015-11-07 12:51:23 +00:00
  • bbd6d43094 Update package.json Daniel Holden 2015-08-28 19:22:01 +01:00
  • 3643fbe6bb Fixed bug in behaviour of counting parser. Removed changelog (git is the changelog). Daniel Holden 2015-08-28 19:20:39 +01:00
  • 81abc6f115 Update README.md Daniel Holden 2015-03-11 09:48:10 +00:00
  • e85cbe9634 Update README.md Daniel Holden 2015-03-11 09:47:16 +00:00
  • 8c73fd20dd Update README.md Daniel Holden 2015-03-11 09:43:44 +00:00
  • 90af71c997 Update README.md Daniel Holden 2015-03-11 09:43:01 +00:00
  • 6a8dc2e3f9 Fixed ptest compile errors Daniel Holden 2015-03-10 10:50:29 +00:00
  • dba739cd3d merge Daniel Holden 2015-03-10 10:46:36 +00:00
  • 123a7919d1 Added string stripping functions Daniel Holden 2015-03-10 10:44:29 +00:00
  • 2fc9b9bccd Merge pull request #24 from mikebolt/master Daniel Holden 2015-03-03 23:46:45 +00:00
  • 24478bd6f4 Return from mpc_ast_print_depth if NULL Michael Casebolt 2015-03-03 15:40:04 -08:00
  • 3878cd76e6 print function now works for null tree Daniel Holden 2015-02-22 17:38:47 +00:00
  • 7ab3140617 Updated to newer version of ptest Daniel Holden 2015-02-22 17:22:34 +00:00
  • 4c474e6081 Merge pull request #22 from Gioyik/patch-1 Daniel Holden 2015-02-10 09:22:55 +00:00
  • 818aa81638 live on clibs Giovanny Andres Gongora Granada 2015-02-09 23:02:17 -05:00
  • d6347af7b4 Fixed null termination bug in error printing Daniel Holden 2015-02-08 10:45:14 +00:00
  • c4c963f3b3 Updated foobar example Daniel Holden 2015-02-07 19:41:33 +00:00
  • 9481c6573c Fixed odd bug with calloc Daniel Holden 2015-02-07 19:26:35 +00:00
  • 79bd5015fa Merge pull request #17 from david135/master Daniel Holden 2014-12-10 18:10:54 +00:00
  • af6e3db69e Fix typos: 'MPC_PRIMITIVE' (mpc.c), and 'stripped'/'stripping' (README.md) David Roth 2014-12-10 11:55:38 -05:00
  • efbc084963 Merge pull request #15 from TTiga/patch-1 Daniel Holden 2014-12-04 10:55:43 +00:00
  • c6a43cafe8 add a unimplemented library function TTiga 2014-12-04 15:01:58 +08:00
  • 308ad96c75 Update mpc.c Daniel Holden 2014-11-30 15:52:22 +00:00
  • f6d7d87b8b reverted state to use long type Daniel Holden 2014-10-17 15:32:00 +01:00
  • 5094d2c015 Removed comments describing changes. Fixed warnings reported by gcc in the test suite Daniel Holden 2014-10-16 15:38:27 +01:00
  • 1fba0abb39 Merge pull request #13 from daltonwoodard/warnings_fix Daniel Holden 2014-10-16 15:17:28 +01:00
  • 6efe026b25 Reverted to default standard to -ansi. Fixed warnings under compilation against -ansi. Code now builds and tests successfully under -std=c11 and -ansi on both clang (600.0.51) and gcc (4.9.1). Dalton Woodard 2014-10-15 16:23:59 -07:00
  • bae8dd5d82 Moved changelog to text file. Dalton Woodard 2014-10-14 23:32:13 -07:00
  • 4f1dc8f6f9 Added CHANGELOG.md Dalton Woodard 2014-10-14 23:27:42 -07:00
  • ff36156283 Small update to change notes in Makefile. Dalton Woodard 2014-10-14 23:21:03 -07:00
  • bd9e5d98d6 Fixed all compilation warnings for mpc.c and mpc.h. Now compiles successfully on clang with -Werror and myriad warnings invoked (see Makefile for details). Compiles successfully on gcc with -Werror (ptest.c and example code does not, however). Dalton Woodard 2014-10-14 23:18:02 -07:00
  • c26ed9a09b Update to Makefile, added change notes. Dalton Woodard 2014-10-14 23:16:11 -07:00
  • 4bdbf4f2ad Update to .gitignore, added *.dSYM (get's rid of OS X crap) Dalton Woodard 2014-10-14 23:15:00 -07:00
  • 1a6ed8de32 Fixed make throwing error on repeated invokation of make clean, added example executables to clean list. Filtered out -Werror on compilation of ptest.c (was thowing errors). Dalton Woodard 2014-10-14 22:33:21 -07:00
  • 0963ddab1b Update to .gitignore to exclude example executables. Dalton Woodard 2014-10-14 22:25:52 -07:00
  • 396b7603ab Update README.md Daniel Holden 2014-08-20 14:50:23 +01:00
  • f65b32b842 Merge pull request #11 from kc1212/master Daniel Holden 2014-07-15 22:34:15 +01:00
  • 5bd7aaf004 Added function to print ast to user specified file pointer Kelong Cong 2014-07-15 22:21:54 +01:00
  • 6af8360517 Fixed bug with mpca_lang statement delete Daniel Holden 2014-05-05 11:04:00 +01:00
  • b12b12c8dd Update README.md Daniel Holden 2014-04-24 21:24:12 +01:00
  • f290b7d2dd Rephrased section about backtracking Daniel Holden 2014-04-23 13:06:10 +01:00
  • 0d8cc54ab0 Updated version Daniel Holden 2014-04-23 12:20:40 +01:00
  • a5ed2097ea Fixed error with failure messages. Null terminated lists to mpca_lang and fixed crash. Daniel Holden 2014-04-23 12:20:20 +01:00
  • 60b1496bb5 Readme updates Daniel Holden 2014-04-23 11:56:24 +01:00
  • 17829c57f8 readme corrections Daniel Holden 2014-04-17 11:41:19 +01:00
  • f73d8210f2 Readme updates Daniel Holden 2014-04-17 11:33:40 +01:00
  • 861e931bb8 upped version number Daniel Holden 2014-04-17 11:09:43 +01:00
  • f7185c9762 Refactored boundary stuff into more general anchor Daniel Holden 2014-04-16 23:20:52 +01:00
  • e9fa5a8e25 Merge github.com:orangeduck/mpc Daniel Holden 2014-04-16 22:43:03 +01:00
  • 7487398279 Updated tests. Added some tests for new boundary parse. Daniel Holden 2014-04-16 19:19:25 +01:00
  • 612bc046f0 Initial commit for boundary support Daniel Holden 2014-04-16 18:16:16 +01:00
  • 8d9bf9fdda Fixed bug in state tagging. Updated examples to use concatinated preprocessor strings Daniel Holden 2014-04-16 17:06:16 +01:00
  • 842835aaa5 Should disallow empty clause in grammar parser Daniel Holden 2014-04-15 16:17:05 +01:00
  • fdee1fb0c6 Merge github.com:orangeduck/mpc Daniel Holden 2014-04-15 16:07:48 +01:00
  • 8d0ee197e1 Renamed language option constants Daniel Holden 2014-04-15 16:06:59 +01:00
  • 0164931350 Initial commit for recording parse state in ast Daniel Holden 2014-04-15 16:04:07 +01:00
  • 813ed28910 Merge pull request #6 from TortiPesto/master Daniel Holden 2014-04-15 15:55:12 +01:00
  • 88fcd2fb4d Fix mpc_digit() Torti Pesto 2014-04-15 16:45:07 +02:00
  • efabc31c06 Removed next char from state and moved it to error Daniel Holden 2014-04-15 14:37:13 +01:00
  • 17bc8a9eb7 Introduce end-of-line normalization Daniel Holden 2014-04-15 12:49:57 +01:00