| 
						
					 | 
					
						
						
						
						
							
						
						
							52ac67026f
							
						
					 | 
					
						
						
							
							Remove function tokens. If functions are first class, they're variables.
						
						
						
						
						
					 | 
					
						2018-02-25 14:12:34 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							7a84babf1e
							
						
					 | 
					
						
						
							
							Add basic function call parsing.
						
						
						
						
						
					 | 
					
						2018-02-24 20:08:17 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							052fc5b943
							
						
					 | 
					
						
						
							
							Fix bugs in the if-statement parser.
						
						
						
						
						
					 | 
					
						2018-02-24 20:07:54 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							b19adef236
							
						
					 | 
					
						
						
							
							Abstract creating nodes with both strings and vectors.
						
						
						
						
						
					 | 
					
						2018-02-24 20:07:44 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							d26cb6283c
							
						
					 | 
					
						
						
							
							Fix bug causing incorrect postfix parsing.
						
						
						
						
						
					 | 
					
						2018-02-21 19:16:42 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							a3e1fdd46e
							
						
					 | 
					
						
						
							
							Clean up code in places suggested by static analysis.
						
						
						
						
						
					 | 
					
						2018-02-21 19:06:00 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							0541c18a91
							
						
					 | 
					
						
						
							
							Fix bug causing the free function miss freeing a vector.
						
						
						
						
						
					 | 
					
						2018-02-21 19:00:04 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							6c111f9b67
							
						
					 | 
					
						
						
							
							Fix another unnecessary free bug.
						
						
						
						
						
					 | 
					
						2018-02-21 18:58:32 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							160c0a93da
							
						
					 | 
					
						
						
							
							Make token reporting work for EOF.
						
						
						
						
						
					 | 
					
						2018-02-21 18:55:05 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							919cfb495c
							
						
					 | 
					
						
						
							
							Fix segmentation fault causing bugs.
						
						
						
						
						
					 | 
					
						2018-02-21 18:54:52 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							e5c2570bac
							
						
					 | 
					
						
						
							
							Implement parsing if expressions.
						
						
						
						
						
					 | 
					
						2018-02-20 16:38:02 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							a7c49192fb
							
						
					 | 
					
						
						
							
							Use the new utility functions.
						
						
						
						
						
					 | 
					
						2018-02-20 13:24:21 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							f8d07350a7
							
						
					 | 
					
						
						
							
							Implement functions to help with allocation.
						
						
						
						
						
					 | 
					
						2018-02-20 13:11:40 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							8ffcbb0ee2
							
						
					 | 
					
						
						
							
							Make blocks expressions, and add implicit void expression at block ends.
						
						
						
						
						
					 | 
					
						2018-02-18 21:05:06 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							987027c4fc
							
						
					 | 
					
						
						
							
							Revert "Allow last expression in code to not be terminated by a semicolon."
						
						
						
						
						
						
						
						12660b1e4a 
						
					 | 
					
						2018-02-18 20:05:15 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							12660b1e4a
							
						
					 | 
					
						
						
							
							Allow last expression in code to not be terminated by a semicolon.
						
						
						
						
						
					 | 
					
						2018-02-18 19:02:06 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							c7aa521b19
							
						
					 | 
					
						
						
							
							Change function name a little.
						
						
						
						
						
					 | 
					
						2018-02-17 21:33:33 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							2e89a338df
							
						
					 | 
					
						
						
							
							Rearrange parsing code for clarity.
						
						
						
						
						
					 | 
					
						2018-02-17 20:16:50 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							72d60855c2
							
						
					 | 
					
						
						
							
							Implement storing expressions into block.
						
						
						
						
						
					 | 
					
						2018-02-17 19:52:40 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							811704be25
							
						
					 | 
					
						
						
							
							Add a recursive tree freeing function.
						
						
						
						
						
					 | 
					
						2018-02-17 19:20:10 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							a52735f0b3
							
						
					 | 
					
						
						
							
							Finish the "construct tree" part of Shunting Yard.
						
						
						
						
						
					 | 
					
						2018-02-17 19:08:35 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							68b4fb5807
							
						
					 | 
					
						
						
							
							Complete the "rearrange" part of Shunting Yard in the parser.
						
						
						
						
						
					 | 
					
						2018-02-17 16:01:21 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							bf3c90bed2
							
						
					 | 
					
						
						
							
							Begin the shunting-yard implementation.
						
						
						
						
						
					 | 
					
						2018-02-17 14:40:43 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							101847e70d
							
						
					 | 
					
						
						
							
							Implement function to pop things off the stack until parenth.
						
						
						
						
						
					 | 
					
						2018-02-17 14:40:30 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							1157b126ca
							
						
					 | 
					
						
						
							
							Add function to create a new op node and push it to a list.
						
						
						
						
						
					 | 
					
						2018-02-17 14:04:59 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							aef84d0548
							
						
					 | 
					
						
						
							
							Remove now-gone tokens from the parser.
						
						
						
						
						
					 | 
					
						2018-02-17 14:02:10 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							ab683cbd7a
							
						
					 | 
					
						
						
							
							Add function to construct an operator tree node from a token.
						
						
						
						
						
					 | 
					
						2018-02-15 23:12:47 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							e11f56ee68
							
						
					 | 
					
						
						
							
							Add utility function to check if token is an operator.
						
						
						
						
						
					 | 
					
						2018-02-15 23:11:25 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							74034c7b76
							
						
					 | 
					
						
						
							
							Rename header files.
						
						
						
						
						
					 | 
					
						2018-02-11 22:32:42 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							f67b98d7a6
							
						
					 | 
					
						
						
							
							Add a parser struct.
						
						
						
						
						
					 | 
					
						2018-02-11 22:26:19 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							e5351c17a2
							
						
					 | 
					
						
						
							
							Fix code to stick to proper naming convention.
						
						
						
						
						
					 | 
					
						2018-02-11 21:22:01 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							732ff47f44
							
						
					 | 
					
						
						
							
							Add function to extract strings from tokens.
						
						
						
						
						
					 | 
					
						2018-02-11 13:42:05 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							31329a13a6
							
						
					 | 
					
						
						
							
							Add initial code for statement parsing.
						
						
						
						
						
					 | 
					
						2018-02-10 23:06:47 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							0958ecd1eb
							
						
					 | 
					
						
						
							
							Begin working on an initial implementation for the parser.
						
						
						
						
						
					 | 
					
						2018-02-10 22:40:34 -08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
						
						
							
						
						
							6d836a5513
							
						
					 | 
					
						
						
							
							Add parser state code and skeleton for the parsing procedure.
						
						
						
						
						
					 | 
					
						2018-02-10 22:22:51 -08:00 | 
					
					
						
						
							
							
							
						
					 |