1
1
mirror of https://github.com/wader/fq.git synced 2024-12-25 14:23:18 +03:00
fq/pkg/interp
Mattias Wadman 0a043f9096 repl,interp: Refactor repl and slurp
Now repl, slurp and help implemented using same query rewrite.
Include filename context in error if possible.
Add spew function that does opposite of slurp.
Start of help infra, not done or documented yet.
Show error pointer on parse error.
Rename internal eval to _eval and make eval be wrapper that
does rewrite and has various eror handling etc.
Nicer repl, slupr and help errors.
2022-03-01 18:31:00 +01:00
..
testdata repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +01:00
.jq-lsp.jq repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +01:00
args_test.jq repl: completion in jq 2021-09-12 13:08:56 +02:00
args.jq dev: Add .jq-lsp.jq to add additional builtins for jq-lsp 2022-02-16 19:52:42 +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 binary,decode,doc: Rename buffer to binary and add some documentation 2022-02-08 22:20:28 +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 dev: Add .jq-lsp.jq to add additional builtins for jq-lsp 2022-02-16 19:52:42 +01:00
decorator.go bitio,decode: Refactor bitio usage and make buffer slicing more correct 2022-02-04 21:41:53 +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 repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +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 repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +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 repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +01:00
internal.jq repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +01:00
interp.go repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +01:00
interp.jq repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +01:00
match.go binary,decode,doc: Rename buffer to binary and add some documentation 2022-02-08 22:20:28 +01:00
match.jq dev: Add .jq-lsp.jq to add additional builtins for jq-lsp 2022-02-16 19:52:42 +01:00
options.jq repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +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 repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +01:00
repl.jq repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +01:00
testjq.sh make: Move testjq.sh into pkg/interp 2021-11-12 00:23:16 +01:00