1
1
mirror of https://github.com/wader/fq.git synced 2024-12-29 16:42:06 +03:00
fq/pkg/interp
Mattias Wadman 768df3012c interp,decode: For struct use map to lookup field
Will make it faster for struct with logs of fields and seems to
not cuase any significant difference for small structs.

All this really needs a rewrite somehow, maybe refactor into interfaces somehow? getting messy.
2022-09-01 11:35:19 +02:00
..
testdata interp,dump: Correctly flush columns if data will be shown 2022-08-24 21:14:26 +02:00
.jq-lsp.jq interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02: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 *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
binary.jq interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02: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 interp,decode: For struct use map to lookup field 2022-09-01 11:35:19 +02:00
decode.jq interp: Extract to/from map/struct to own package 2022-06-20 21:24:59 +02:00
decorator.go fq: Use go 1.18 2022-05-20 15:23:16 +02: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 columnwriter,dump: Add Column interface and refactor into BarColumn and MultiLineColumn 2022-08-24 21:48:56 +02:00
eval.jq interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02:00
format_decode.jq format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02:00
format_func.jq decode,interp: Support for format specific options 2022-05-01 17:08:30 +02:00
fqtest_test.go interp: Cleanup and clarify some format naming 2022-07-16 22:04:21 +02:00
funcs_test.jq interp: Add group/0 2022-06-21 15:18:12 +02:00
funcs.jq format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02:00
grep.jq interp: Add internal _is_<type> helpers 2022-05-20 16:49:00 +02:00
help.jq doc,interp: Update and add more examples 2022-07-30 20:21:35 +02:00
init.jq interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
internal.jq interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02:00
interp.go *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
interp.jq format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02: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: Add --unicode-output/-U to force use of unicode 2022-08-17 21:40:42 +02:00
preview.go *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
query_test.jq repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +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
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 gojq: Update fq fork, new scope function, rawstring, stricter integers 2022-08-14 22:40:44 +02:00
testjq.sh make: Move testjq.sh into pkg/interp 2021-11-12 00:23:16 +01:00