1
1
mirror of https://github.com/wader/fq.git synced 2024-12-23 05:13:30 +03:00
fq/pkg/interp
Mattias Wadman 3dd2c61d3c interp: Fix input completion regression in sub-REPLs
readline Config was used to pass completer function per readline call,
was changed in #612 and caused regression. Now use our own member in
stdOS to pass it instead.

Add a test but test script completer is implemented differently.
2023-03-10 13:57:21 +01:00
..
testdata interp: Fix input completion regression in sub-REPLs 2023-03-10 13:57:21 +01:00
.jq-lsp.jq doc,fq: Improve cli help and some cleanup 2023-02-15 11:04:39 +01:00
ansi.jq interp,repl: Add path and value colors to prompt 2022-03-03 18:25:19 +01:00
args.jq interp: Rework formats and options help 2022-03-03 18:25:20 +01:00
args.jq.test dev,test: Use jqtest code from jqjq for jq tests 2022-12-05 20:52:27 +01:00
binary.go *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
binary.jq interp: Don't auto convert to binary for string functions, is just confusing 2022-12-22 12:13:23 +01:00
bitops.go *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
decode.go decode: Support multiple format args and some rename and refactor 2023-02-18 21:38:51 +01:00
decode.jq interp: Make to{actual,sym} behave similar to tovalue 2022-09-25 17:53:12 +02:00
decorator.go interp: Wrap Binary in decodeValue to fix prompt issue with bits/bytes format 2023-01-04 15:30:05 +01:00
default_register.go *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
dump.go decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +01:00
eval.jq interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02:00
format_decode.jq interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
format_func.jq raw,bits,bytes: Replace raw format with bits and bytes format that decode to a binary 2022-11-20 19:51:12 +01:00
fqtest_test.go doc,dev: Add more usage and dev tips 2022-12-03 19:00:47 +01:00
funcs.jq interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
funcs.jq.test dev,test: Use jqtest code from jqjq for jq tests 2022-12-05 20:52:27 +01:00
grep.jq interp: Add internal _is_<type> helpers 2022-05-20 16:49:00 +02:00
help.jq help: Show default option value as JSON 2023-03-04 09:53:33 +01:00
init.jq interp: mimic jq: if expr arg is given read stdin even if tty 2022-11-29 18:39:57 +01:00
internal.jq matroska: Fix path tests and make _tree_path more robust 2022-11-20 20:16:41 +01:00
interp.go interp: Fix input completion regression in sub-REPLs 2023-03-10 13:57:21 +01:00
interp.jq format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02:00
jqtest.jq interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
match.go *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
options.jq interp: Exit with error if -o name=@path fails to be read, also document 2023-02-26 21:18:36 +01:00
preview.go interp: Wrap Binary in decodeValue to fix prompt issue with bits/bytes format 2023-01-04 15:30:05 +01:00
query.go interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02:00
query.jq decode,interp: Support for format specific options 2022-05-01 17:08:30 +02:00
query.jq.test dev,test: Use jqtest code from jqjq for jq tests 2022-12-05 20:52:27 +01:00
registry_include.jq interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
registry.go generics: Use more from x/exp 2022-08-31 10:50:56 +02:00
repl.jq interp: Fix interrupt panic for cli eval 2022-09-29 18:17:57 +02:00