Commit Graph

224 Commits

Author SHA1 Message Date
Daniel Holden
3ead545ed8 Fixed bug in error reporting 2015-12-13 13:15:10 +00:00
Daniel Holden
24a68471ee Merge pull request #40 from alpha123/pedantic-fix-readme
Fix a minor README error
2015-11-17 22:09:05 +00:00
alpha123
07fe154100 Fix a minor README error.
Precedence of operators was flipped around in the fold_maths example.
2015-11-17 15:43:34 -07:00
Daniel Holden
131c8a55d5 Added back in some optimisations to error creation 2015-11-15 22:13:13 +00:00
Daniel Holden
227dd442ae Fixed bug in error reporting 2015-11-15 17:53:10 +00:00
Daniel Holden
99732cee30 More optimisations including a pool memory allocator and suppression of error generation when not required. 2015-11-12 15:58:05 +00:00
Daniel Holden
31889d86c3 Switched parsing to use C function stack 2015-11-10 20:25:39 +00:00
Daniel Holden
991a6e4156 Small optimisation 2015-11-09 15:02:38 +00:00
Daniel Holden
613fc26729 fixed bug. Reenabled O3. 2015-11-09 13:34:39 +00:00
Daniel Holden
f8c9429a10 Faster strfold function. 2015-11-09 13:33:06 +00:00
Daniel Holden
4932c86ec7 Fixed bug in optimisation pass. 2015-11-09 12:06:13 +00:00
Daniel Holden
3c266180c4 Update README.md 2015-11-07 17:34:47 +00:00
Daniel Holden
2d111680df update version number 2015-11-07 16:58:47 +00:00
Daniel Holden
04a8392077 Merge github.com:orangeduck/mpc 2015-11-07 16:57:34 +00:00
Daniel Holden
4472dd4363 Added basic optimise function for parsers. 2015-11-07 16:57:09 +00:00
Daniel Holden
af81180fa9 Minor performance tweak 2015-11-07 12:51:23 +00:00
Daniel Holden
bbd6d43094 Update package.json 2015-08-28 19:22:01 +01:00
Daniel Holden
3643fbe6bb Fixed bug in behaviour of counting parser. Removed changelog (git is the changelog). 2015-08-28 19:20:39 +01:00
Daniel Holden
81abc6f115 Update README.md 2015-03-11 09:48:10 +00:00
Daniel Holden
e85cbe9634 Update README.md 2015-03-11 09:47:16 +00:00
Daniel Holden
8c73fd20dd Update README.md 2015-03-11 09:43:44 +00:00
Daniel Holden
90af71c997 Update README.md 2015-03-11 09:43:01 +00:00
Daniel Holden
6a8dc2e3f9 Fixed ptest compile errors 2015-03-10 10:50:29 +00:00
Daniel Holden
dba739cd3d merge 2015-03-10 10:46:36 +00:00
Daniel Holden
123a7919d1 Added string stripping functions 2015-03-10 10:44:29 +00:00
Daniel Holden
2fc9b9bccd Merge pull request #24 from mikebolt/master
Return from mpc_ast_print_depth if NULL
2015-03-03 23:46:45 +00:00
Michael Casebolt
24478bd6f4 Return from mpc_ast_print_depth if NULL
Return from mpc_ast_print_depth after printing 'NULL' to avoid the potential segfault.
2015-03-03 15:40:04 -08:00
Daniel Holden
3878cd76e6 print function now works for null tree 2015-02-22 17:38:47 +00:00
Daniel Holden
7ab3140617 Updated to newer version of ptest 2015-02-22 17:22:34 +00:00
Daniel Holden
4c474e6081 Merge pull request #22 from Gioyik/patch-1
live on clibs
2015-02-10 09:22:55 +00:00
Giovanny Andres Gongora Granada
818aa81638 live on clibs 2015-02-09 23:02:17 -05:00
Daniel Holden
d6347af7b4 Fixed null termination bug in error printing 2015-02-08 10:45:14 +00:00
Daniel Holden
c4c963f3b3 Updated foobar example 2015-02-07 19:41:33 +00:00
Daniel Holden
9481c6573c Fixed odd bug with calloc 2015-02-07 19:26:35 +00:00
Daniel Holden
79bd5015fa Merge pull request #17 from david135/master
Fix typos: 'MPC_PRIMITIVE' (mpc.c), and 'stripped'/'stripping' (README.m...
2014-12-10 18:10:54 +00:00
David Roth
af6e3db69e Fix typos: 'MPC_PRIMITIVE' (mpc.c), and 'stripped'/'stripping' (README.md) 2014-12-10 11:55:38 -05:00
Daniel Holden
efbc084963 Merge pull request #15 from TTiga/patch-1
add a unimplemented library function
2014-12-04 10:55:43 +00:00
TTiga
c6a43cafe8 add a unimplemented library function 2014-12-04 15:01:58 +08:00
Daniel Holden
308ad96c75 Update mpc.c 2014-11-30 15:52:22 +00:00
Daniel Holden
f6d7d87b8b reverted state to use long type 2014-10-17 15:32:00 +01:00
Daniel Holden
5094d2c015 Removed comments describing changes. Fixed warnings reported by gcc in the test suite 2014-10-16 15:38:27 +01:00
Daniel Holden
1fba0abb39 Merge pull request #13 from daltonwoodard/warnings_fix
compilation warnings fix
2014-10-16 15:17:28 +01:00
Dalton Woodard
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). 2014-10-15 16:23:59 -07:00
Dalton Woodard
bae8dd5d82 Moved changelog to text file. 2014-10-14 23:32:13 -07:00
Dalton Woodard
4f1dc8f6f9 Added CHANGELOG.md 2014-10-14 23:27:42 -07:00
Dalton Woodard
ff36156283 Small update to change notes in Makefile. 2014-10-14 23:21:03 -07:00
Dalton Woodard
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). 2014-10-14 23:18:02 -07:00
Dalton Woodard
c26ed9a09b Update to Makefile, added change notes. 2014-10-14 23:16:11 -07:00
Dalton Woodard
4bdbf4f2ad Update to .gitignore, added *.dSYM (get's rid of OS X crap) 2014-10-14 23:15:00 -07:00
Dalton Woodard
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).
2014-10-14 22:33:29 -07:00