summaryrefslogtreecommitdiffstats
path: root/compile.c
AgeCommit message (Expand)Author
2015-07-26Error on bytecodes longer than 0xFFFF (fix #269)David Tolnay
2015-07-19Clean up trailing whitespaceDavid Tolnay
2015-06-26Restore import into caller's namespaceNicolas Williams
2015-06-20fix errors flagged by clang static analyzerDavid Tolnay
2015-06-17Fix #814: raise on div-0, add inf isinf nan isnanNicolas Williams
2015-06-09array and object destructuring (fix #533)David Tolnay
2015-04-28Use jv_mem_alloc() in compile.c (fix #771)Nicolas Williams
2014-12-31Further module system revamp (fix #659)Nicolas Williams
2014-12-30Add `label $name | EXP`; fix `break`Nicolas Williams
2014-12-26Fix `foreach` non-progation of errorsNicolas Williams
2014-11-29Fix refcount leak, fix #618Nicolas Williams
2014-09-22Properly handle when objects cannot be foldedWilliam Langford
2014-08-14Add `module` directive, `modulemeta` builtinNicolas Williams
2014-08-14Add jq_report_error() function; use itNicolas Williams
2014-08-09Constant fold objectsNicolas Williams
2014-08-09Fold constant arraysNicolas Williams
2014-08-08Add `def f($arg):` syntax (fix #524)Nicolas Williams
2014-08-05Remove duplicate TOP insertions, drop unused defs.William Langford
2014-07-27Fold constants (fix #504)Nicolas Williams
2014-07-22Added library system with -l, -L, and JQ_LIBRARY_PATHWilliam Langford
2014-07-13Lib defs don't bind to each other; fix #479 againNicolas Williams
2014-07-13Revert "Library defs don't bind to each other; fix #479"Nicolas Williams
2014-07-12Library defs don't bind to each other; fix #479Nicolas Williams
2014-07-07Add `break` builtin for `foreach`Nicolas Williams
2014-07-07Better check for lib has only functions (fix #138)Nicolas Williams
2014-07-06Add `foreach` and `limit`Nicolas Williams
2014-07-06Add `try EXP catch EXP`Nicolas Williams
2014-07-02Multi-arity needs better errors (fix #438)Nicolas Williams
2014-06-16Allow multiple functions with different aritiesNicolas Williams
2013-12-04Conditionally #define _GNU_SOURCE in compile.cNicolas Williams
2013-06-18Fold opcode.{c,h} into bytecode.{c,h}Stephen Dolan
2013-06-18Simplify block functions for variablesStephen Dolan
2013-05-16Make array construction use LOADVN (slightly faster)Stephen Dolan
2013-05-16Remove the insane "fold" operation, replace with saner "reduce".Stephen Dolan
2013-05-16Better debug info for struct bytecode.Stephen Dolan
2013-05-15Only generate code for those builtin functions actually used.Stephen Dolan
2013-05-15Remove the YIELD opcode (use RET instead)Stephen Dolan
2013-05-13Refactor path logic.Stephen Dolan
2013-05-06Add a --arg option to allow variables to be passed from the cmdline.Stephen Dolan
2013-05-05Make a few constant globals actually const.Stephen Dolan
2013-01-03Change APPEND opcode to directly modify a variable.Stephen Dolan
2012-12-29Refactor assignment.Stephen Dolan
2012-12-28Fold operation (code/docs/test)Stephen Dolan
2012-12-18Add wrappers for malloc/realloc/free. See #43.Stephen Dolan
2012-12-10some words explaining struct inst a littleStephen Dolan
2012-12-04Refactor function argument passing into what it always should have been.Stephen Dolan
2012-12-03General cleanup - rename a few things, delete dead code.Stephen Dolan
2012-12-02Clean up implementation of builtin functions.Stephen Dolan
2012-12-02Move all the includes one place to the leftStephen Dolan
2012-12-02Clean up calls to C functions, unify opcodesStephen Dolan