Daniel Holden
							
						 
					 | 
					
						
						
							
						
						c2908c37bb
					 | 
					
						
						
							
							Added copy function
						
						
						
						
						
						
					 | 
					
						2016-02-20 14:44:08 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Daniel Holden
							
						 
					 | 
					
						
						
							
						
						d9c3a453f2
					 | 
					
						
						
							
							State needs to be invalid to avoid input being expected
						
						
						
						
						
						
					 | 
					
						2015-12-13 13:22:01 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Daniel Holden
							
						 
					 | 
					
						
						
							
						
						3ead545ed8
					 | 
					
						
						
							
							Fixed bug in error reporting
						
						
						
						
						
						
					 | 
					
						2015-12-13 13:15:10 +00: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
							
						 
					 | 
					
						
						
							
						
						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
							
						 
					 | 
					
						
						
							
						
						3643fbe6bb
					 | 
					
						
						
							
							Fixed bug in behaviour of counting parser. Removed changelog (git is the changelog).
						
						
						
						
						
						
					 | 
					
						2015-08-28 19:20:39 +01: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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								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
							
						 
					 | 
					
						
						
							
						
						d6347af7b4
					 | 
					
						
						
							
							Fixed null termination bug in error printing
						
						
						
						
						
						
					 | 
					
						2015-02-08 10:45:14 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Daniel Holden
							
						 
					 | 
					
						
						
							
						
						9481c6573c
					 | 
					
						
						
							
							Fixed odd bug with calloc
						
						
						
						
						
						
					 | 
					
						2015-02-07 19:26:35 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								David Roth
							
						 
					 | 
					
						
						
							
						
						af6e3db69e
					 | 
					
						
						
							
							Fix typos: 'MPC_PRIMITIVE' (mpc.c), and 'stripped'/'stripping' (README.md)
						
						
						
						
						
						
					 | 
					
						2014-12-10 11:55:38 -05: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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								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
							
						 
					 | 
					
						
						
							
						
						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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								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
							
						 
					 | 
					
						
						
							
						
						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
							
						 
					 | 
					
						
						
							
						
						f7185c9762
					 | 
					
						
						
							
							Refactored boundary stuff into more general anchor
						
						
						
						
						
						
					 | 
					
						2014-04-16 23:20:52 +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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								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
							
						 
					 | 
					
						
						
							
						
						c74dedbb23
					 | 
					
						
						
							
							Initial ability to get state
						
						
						
						
						
						
					 | 
					
						2014-04-15 12:45:35 +01: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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Daniel Holden
							
						 
					 | 
					
						
						
							
						
						0eaaf4bba2
					 | 
					
						
						
							
							Various fixes
						
						
						
						
						
						
					 | 
					
						2014-01-09 11:12:59 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Daniel Holden
							
						 
					 | 
					
						
						
							
						
						a8257e5b8e
					 | 
					
						
						
							
							Regex tests
						
						
						
						
						
						
					 | 
					
						2013-11-17 18:25:06 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Daniel Holden
							
						 
					 | 
					
						
						
							
						
						341c2d6211
					 | 
					
						
						
							
							Completed refactoring
						
						
						
						
						
						
					 | 
					
						2013-11-11 16:56:20 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |