1
1
mirror of https://github.com/wader/fq.git synced 2024-12-23 21:31:33 +03:00
fq/pkg/interp
Mattias Wadman 9b81d4d3ab decode: More type safe API and split scalar into multiple types
Preparation to make decoder use less memory and API more type safe.
Now each scalar type has it's own struct type so it can store different
things and enables to have a scalar interface.
Also own types will enable experimenting with decode DLS designs like
using chained methods that are type aware.
2022-12-14 16:23:58 +01:00
..
testdata decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +01: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.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,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 decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +01:00
decode.jq interp: Make to{actual,sym} behave similar to tovalue 2022-09-25 17:53:12 +02:00
decorator.go decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +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 raw,bits,bytes: Replace raw format with bits and bytes format that decode to a binary 2022-11-20 19:51:12 +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 help,doc: Use markdown for format documentation again 2022-09-11 00:53:29 +02: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 doc,help: Nicer format help and move help tests into each format 2022-09-22 23:07:58 +02: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 decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +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 dev,test: Use jqtest code from jqjq for jq tests 2022-12-05 20:52:27 +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: Change default bits_format=string 2022-12-01 17:49:34 +01:00
preview.go decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +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