| 
							
							
								 Nicolas Williams | 54635000c5 | Conditionally #define _GNU_SOURCE in compile.c | 2013-12-04 18:21:42 -06:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | b49d65a276 | Fold opcode.{c,h} into bytecode.{c,h} | 2013-06-18 01:36:18 +01:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 824ce76cec | Simplify block functions for variables | 2013-06-18 01:07:18 +01:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 9b91eafac4 | Make array construction use LOADVN (slightly faster) | 2013-05-16 15:09:59 +01:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | bc42812715 | Remove the insane "fold" operation, replace with saner "reduce". | 2013-05-16 15:07:53 +01:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | a1e4dfa324 | Better debug info for struct bytecode. --debug-dump-disasm produces more comprehensible output now. | 2013-05-16 00:51:17 +01:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | f8644c31a3 | Only generate code for those builtin functions actually used. Makes output of --debug-dump-disasm much simpler. | 2013-05-15 01:37:15 +01:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 1e2851cdb3 | Remove the YIELD opcode (use RET instead) | 2013-05-15 01:23:06 +01:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 8c708f3c7a | Refactor path logic. | 2013-05-13 15:00:05 +01:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 5be97463ec | Add a --arg option to allow variables to be passed from the cmdline. Closes #107 | 2013-05-06 14:21:00 +01:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 47e015e946 | Make a few constant globals actually const. This means the .data and .bss sections are empty, a good thing
in a shared library (see #98). | 2013-05-05 22:59:53 +01:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | c013b557a2 | Change APPEND opcode to directly modify a variable. Avoids a big O(n^2) loop in constructing arrays. Fixes #61. | 2013-01-03 12:51:33 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | d5fdf70434 | Refactor assignment. New version is much more elegant and probably slower. Uses
library functions implemented in jq rather than dedicated opcodes. | 2012-12-29 16:43:36 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 417899f9a0 | Fold operation (code/docs/test) | 2012-12-28 15:05:34 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 04daafbde3 | Add wrappers for malloc/realloc/free. See #43. | 2012-12-18 16:53:51 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | dcc93042d3 | some words explaining struct inst a little | 2012-12-10 22:35:33 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 616e8f9924 | Refactor function argument passing into what it always should have been. Most visible change is that error messages when a function is called
with the wrong number of arguments are much better. | 2012-12-04 00:39:21 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 5f6a95c7b5 | General cleanup - rename a few things, delete dead code. | 2012-12-03 20:02:02 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | ea9db414ed | Clean up implementation of builtin functions. | 2012-12-02 22:12:08 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | b6f2fbbe62 | Move all the includes one place to the left | 2012-12-02 21:25:54 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 125e278502 | Clean up calls to C functions, unify opcodes | 2012-12-02 20:45:55 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 251f221b85 | Refactor of function call codegen. Separate codegen for C and jq calls. | 2012-12-02 20:45:06 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 4747f8681b | Transparent handling for CBV arguments to C functions. C function arguments closures are inlined before the call. | 2012-11-26 01:36:55 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 3e3fe51959 | Clean up function creation API and epilogue generation. | 2012-11-26 00:39:01 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 924aeda504 | Add some preprocessor junk to make codegen cleaner. | 2012-11-25 23:49:57 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | f19ba32fdd | Minor refactor of function call setup to allow for multiple arguments. | 2012-11-25 23:07:43 +00:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | 71ab537ee9 | Initialise some variables to keep gcc happy. | 2012-09-18 23:46:23 +01:00 |  | 
			
				
					| 
							
							
								 Stephen Dolan | a4eea165bb | Move everything around - delete old Haskell code, clean up build. | 2012-09-18 17:44:43 +01:00 |  |