1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 06:04:47 +03:00
fq/pkg/interp
Mattias Wadman 41551de331 interp,repl: Improved eval and output interrupt
repl now rewrites query to do implicit display inside the sub eval.
This makes it possible to interrupt eval and output in a better and faster way.

Make JSON encoder fail early on errors.

Add more interrupt tests.
2022-03-11 16:22:30 +01:00
..
testdata interp: Cleanup binary regexp overloading and add explode 2022-03-09 20:17:12 +01:00
.jq-lsp.jq repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +01:00
ansi.jq interp,repl: Add path and value colors to prompt 2022-03-03 18:25:19 +01:00
args_test.jq repl: completion in jq 2021-09-12 13:08:56 +02:00
args.jq interp: Rework formats and options help 2022-03-03 18:25:20 +01:00
assert.jq dev: Add .jq-lsp.jq to add additional builtins for jq-lsp 2022-02-16 19:52:42 +01:00
binary.go repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +01:00
binary.jq interp: Cleanup binary regexp overloading and add explode 2022-03-09 20:17:12 +01:00
bitops.go interp,fq: Make bit operators normal functions 2022-01-09 01:06:36 +01:00
decode.go interp: Skip redundant includes 2022-02-24 12:44:26 +01:00
decode.jq interp: Rework formats and options help 2022-03-03 18:25:20 +01:00
decorator.go interp: Color parse in jq 2022-03-03 17:55:24 +01:00
dump.go binary,decode,doc: Rename buffer to binary and add some documentation 2022-02-08 22:20:28 +01:00
eval.jq interp,repl: Improved eval and output interrupt 2022-03-11 16:22:30 +01:00
formats.jq interp: Add torepr/0 that converts decode value into what it reptresents 2022-01-12 17:33:58 +01:00
fqtest_test.go mod: Use proper path and dont use replace 2021-09-12 13:08:50 +02:00
funcs_test.jq interp: Refactor radix* into toradix($base)/fromradix($base) 2022-02-11 01:28:39 +01:00
funcs.go interp: Skip redundant includes 2022-02-24 12:44:26 +01:00
funcs.jq interp: Rework formats and options help 2022-03-03 18:25:20 +01:00
grep.jq dev: Add .jq-lsp.jq to add additional builtins for jq-lsp 2022-02-16 19:52:42 +01:00
help.jq interp,repl: Improved eval and output interrupt 2022-03-11 16:22:30 +01:00
internal.jq interp,repl: Add path and value colors to prompt 2022-03-03 18:25:19 +01:00
interp.go interp,repl: Improved eval and output interrupt 2022-03-11 16:22:30 +01:00
interp.jq interp: Cleanup binary regexp overloading and add explode 2022-03-09 20:17:12 +01:00
match.go binary,decode,doc: Rename buffer to binary and add some documentation 2022-02-08 22:20:28 +01:00
options.jq interp: Make help output less wide 2022-03-03 22:02:33 +01:00
preview.go bitio,decode: Refactor bitio usage and make buffer slicing more correct 2022-02-04 21:41:53 +01:00
query_test.jq repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +01:00
query.go interp: Move jq function impls closer to where they belong 2021-11-16 11:43:11 +01:00
query.jq gojq: Rebase fq fork and add support for non-10 base for tonumber 2022-03-02 23:46:20 +01:00
repl.jq interp,repl: Improved eval and output interrupt 2022-03-11 16:22:30 +01:00
testjq.sh make: Move testjq.sh into pkg/interp 2021-11-12 00:23:16 +01:00