ba1acbe961
Teach disassembler about TAIL_CALL_JQ
2014-07-01 22:49:25 -05:00
436941d48b
TCO to the max!
...
Close #446 .
Currently tested by disassembling and tracing various recursive jq
programs by hand under valgrind. An improved test framework that
can test for errors and specific bytecode patterns is in
development.
2014-06-30 23:41:20 -05:00
b49d65a276
Fold opcode.{c,h} into bytecode.{c,h}
2013-06-18 01:36:18 +01:00
3f86e97f70
Fixup API to get closer to a libjq
2013-06-15 17:37:15 -05:00
a1e4dfa324
Better debug info for struct bytecode.
...
--debug-dump-disasm produces more comprehensible output now.
2013-05-16 00:51:17 +01:00
04daafbde3
Add wrappers for malloc/realloc/free. See #43 .
2012-12-18 16:53:51 +00:00
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
5f6a95c7b5
General cleanup - rename a few things, delete dead code.
2012-12-03 20:02:02 +00:00
125e278502
Clean up calls to C functions, unify opcodes
2012-12-02 20:45:55 +00:00
a4eea165bb
Move everything around - delete old Haskell code, clean up build.
2012-09-18 17:44:43 +01:00