summaryrefslogtreecommitdiff
path: root/compile.c
Commit message (Expand)AuthorAgeFilesLines
* Further module system revamp (fix #659)Nicolas Williams2014-12-311-18/+41
* Add `label $name | EXP`; fix `break`Nicolas Williams2014-12-301-17/+76
* Fix `foreach` non-progation of errorsNicolas Williams2014-12-261-6/+15
* Fix refcount leak, fix #618Nicolas Williams2014-11-291-3/+3
* Properly handle when objects cannot be foldedWilliam Langford2014-09-221-0/+2
* Add `module` directive, `modulemeta` builtinNicolas Williams2014-08-141-16/+42
* Add jq_report_error() function; use itNicolas Williams2014-08-141-1/+1
* Constant fold objectsNicolas Williams2014-08-091-1/+45
* Fold constant arraysNicolas Williams2014-08-091-0/+62
* Add `def f($arg):` syntax (fix #524)Nicolas Williams2014-08-081-1/+11
* Remove duplicate TOP insertions, drop unused defs.William Langford2014-08-051-2/+6
* Fold constants (fix #504)Nicolas Williams2014-07-271-1/+19
* Added library system with -l, -L, and JQ_LIBRARY_PATHWilliam Langford2014-07-221-9/+106
* Lib defs don't bind to each other; fix #479 againNicolas Williams2014-07-131-8/+41
* Revert "Library defs don't bind to each other; fix #479"Nicolas Williams2014-07-131-18/+4
* Library defs don't bind to each other; fix #479Nicolas Williams2014-07-121-4/+18
* Add `break` builtin for `foreach`Nicolas Williams2014-07-071-1/+4
* Better check for lib has only functions (fix #138)Nicolas Williams2014-07-071-0/+10
* Add `foreach` and `limit`Nicolas Williams2014-07-061-0/+35
* Add `try EXP catch EXP`Nicolas Williams2014-07-061-0/+21
* Multi-arity needs better errors (fix #438)Nicolas Williams2014-07-021-9/+2
* Allow multiple functions with different aritiesNicolas Williams2014-06-161-2/+41
* Conditionally #define _GNU_SOURCE in compile.cNicolas Williams2013-12-041-0/+2
* Fold opcode.{c,h} into bytecode.{c,h}Stephen Dolan2013-06-181-1/+0
* Simplify block functions for variablesStephen Dolan2013-06-181-34/+27
* Make array construction use LOADVN (slightly faster)Stephen Dolan2013-05-161-1/+1
* Remove the insane "fold" operation, replace with saner "reduce".Stephen Dolan2013-05-161-7/+16
* Better debug info for struct bytecode.Stephen Dolan2013-05-161-0/+11
* Only generate code for those builtin functions actually used.Stephen Dolan2013-05-151-3/+21
* Remove the YIELD opcode (use RET instead)Stephen Dolan2013-05-151-7/+1
* Refactor path logic.Stephen Dolan2013-05-131-1/+1
* Add a --arg option to allow variables to be passed from the cmdline.Stephen Dolan2013-05-061-0/+6
* Make a few constant globals actually const.Stephen Dolan2013-05-051-4/+4
* Change APPEND opcode to directly modify a variable.Stephen Dolan2013-01-031-5/+1
* Refactor assignment.Stephen Dolan2012-12-291-16/+0
* Fold operation (code/docs/test)Stephen Dolan2012-12-281-0/+11
* Add wrappers for malloc/realloc/free. See #43.Stephen Dolan2012-12-181-9/+11
* some words explaining struct inst a littleStephen Dolan2012-12-101-8/+22
* Refactor function argument passing into what it always should have been.Stephen Dolan2012-12-041-88/+90
* General cleanup - rename a few things, delete dead code.Stephen Dolan2012-12-031-74/+32
* Clean up implementation of builtin functions.Stephen Dolan2012-12-021-1/+2
* Move all the includes one place to the leftStephen Dolan2012-12-021-0/+1
* Clean up calls to C functions, unify opcodesStephen Dolan2012-12-021-17/+15
* Refactor of function call codegen. Separate codegen for C and jq calls.Stephen Dolan2012-12-021-44/+40
* Transparent handling for CBV arguments to C functions.Stephen Dolan2012-11-261-23/+40
* Clean up function creation API and epilogue generation.Stephen Dolan2012-11-261-23/+27
* Add some preprocessor junk to make codegen cleaner.Stephen Dolan2012-11-251-94/+59
* Minor refactor of function call setup to allow for multiple arguments.Stephen Dolan2012-11-251-22/+100
* Initialise some variables to keep gcc happy.Stephen Dolan2012-09-181-1/+1
* Move everything around - delete old Haskell code, clean up build.Stephen Dolan2012-09-181-0/+613