Commit Graph

184 Commits

Author SHA1 Message Date
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
Dalton Woodard
0963ddab1b Update to .gitignore to exclude example executables. 2014-10-14 22:25:52 -07:00
Daniel Holden
396b7603ab Update README.md 2014-08-20 14:50:23 +01:00
Daniel Holden
f65b32b842 Merge pull request #11 from kc1212/master
Added function to print ast to user specified file pointer
2014-07-15 22:34:15 +01:00
Kelong Cong
5bd7aaf004 Added function to print ast to user specified file pointer 2014-07-15 22:21:54 +01:00
Daniel Holden
6af8360517 Fixed bug with mpca_lang statement delete 2014-05-05 11:04:00 +01:00
Daniel Holden
b12b12c8dd Update README.md 2014-04-24 21:24:12 +01:00
Daniel Holden
f290b7d2dd Rephrased section about backtracking 2014-04-23 13:06:10 +01:00
Daniel Holden
0d8cc54ab0 Updated version 2014-04-23 12:20:40 +01:00
Daniel Holden
a5ed2097ea Fixed error with failure messages. Null terminated lists to mpca_lang and fixed crash. 2014-04-23 12:20:20 +01:00
Daniel Holden
60b1496bb5 Readme updates 2014-04-23 11:56:24 +01:00
Daniel Holden
17829c57f8 readme corrections 2014-04-17 11:41:19 +01:00
Daniel Holden
f73d8210f2 Readme updates 2014-04-17 11:33:40 +01:00
Daniel Holden
861e931bb8 upped version number 2014-04-17 11:09:43 +01:00
Daniel Holden
f7185c9762 Refactored boundary stuff into more general anchor 2014-04-16 23:20:52 +01:00
Daniel Holden
e9fa5a8e25 Merge github.com:orangeduck/mpc 2014-04-16 22:43:03 +01:00
Daniel Holden
7487398279 Updated tests. Added some tests for new boundary parse. 2014-04-16 19:19:25 +01:00
Daniel Holden
612bc046f0 Initial commit for boundary support 2014-04-16 18:16:16 +01:00
Daniel Holden
8d9bf9fdda Fixed bug in state tagging. Updated examples to use concatinated preprocessor strings 2014-04-16 17:06:16 +01:00
Daniel Holden
842835aaa5 Should disallow empty clause in grammar parser 2014-04-15 16:17:05 +01:00
Daniel Holden
fdee1fb0c6 Merge github.com:orangeduck/mpc 2014-04-15 16:07:48 +01:00
Daniel Holden
8d0ee197e1 Renamed language option constants 2014-04-15 16:06:59 +01:00
Daniel Holden
0164931350 Initial commit for recording parse state in ast 2014-04-15 16:04:07 +01:00
Daniel Holden
813ed28910 Merge pull request #6 from TortiPesto/master
Fix mpc_digit()
2014-04-15 15:55:12 +01:00
Torti Pesto
88fcd2fb4d Fix mpc_digit() 2014-04-15 16:45:07 +02:00
Daniel Holden
efabc31c06 Removed next char from state and moved it to error 2014-04-15 14:37:13 +01:00
Daniel Holden
17bc8a9eb7 Introduce end-of-line normalization 2014-04-15 12:49:57 +01:00
Daniel Holden
28e50a3077 Merge github.com:orangeduck/mpc 2014-04-15 12:45:50 +01:00
Daniel Holden
c74dedbb23 Initial ability to get state 2014-04-15 12:45:35 +01:00
Daniel Holden
7ebd10e09e Merge pull request #2 from orges/patch-1
Update mpc.h
2014-04-06 17:39:24 +01:00
Yetkin Öztürk
17092f3637 Update mpc.h
mpc_state_t and mpc_err_t member order changed for better structure data alignment.
2014-04-06 18:07:12 +02:00
Daniel Holden
7a2768d468 Merge pull request #1 from reuk/master
fixed 'no newline at end of file' build errors
2014-04-06 12:06:39 +01:00
Reuben Thomas
38884e7913 fixed 'no newline at end of file' build errors 2014-04-06 12:26:28 +02:00
Daniel Holden
a25dc955a0 Readme updates 2014-02-12 20:51:45 +00:00
Daniel Holden
084bdea367 small readme tweaks 2014-01-26 11:47:55 +00:00
Daniel Holden
d5e2bdf977 Added flags to language specifiction. Added optional expect string to language specification. Added some exaple grammars for testing and demos 2014-01-26 11:25:50 +00:00
Daniel Holden
8931782986 Fixed memory leaks 2014-01-21 10:23:58 -05:00
Daniel Holden
51dbf66b50 A couple more fixes and edits 2014-01-21 11:29:08 +00:00
Daniel Holden
172d4ae5d9 Initial attempt to fix error messaging 2014-01-21 00:05:03 +00:00
Daniel Holden
f518fb5a1d Changed pointer syntax 2014-01-20 21:32:46 +00:00
Daniel Holden
26b6216d7a Fixed unused warnings 2014-01-10 10:03:25 +00:00