1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 14:14:58 +03:00
fq/internal
Mattias Wadman be0ef80c8d interp,fq: Make bit operators normal functions
Uses same rule as jq math functions, 1 arg uses input, more than one all passed as args.
So "bnot 1" -> "1 | bnot", "1 bsl 1" -> "bsl(1; 1)"

Don't think it's worth changing the jq syntax for this and also it could make fq
scripts no compatiblr with other jq tools. Non-10 base number literals are still allowed
but should probably not be used in scripts, only in repl and with cli.
2022-01-09 01:06:36 +01:00
..
aheadreadseeker mod: Use proper path and dont use replace 2021-09-12 13:08:50 +02:00
ansi interp,decode: Refactor out Scalar from Value and merge Array/Struct into Compound 2021-11-05 17:29:22 +01:00
asciiwriter mod: Use proper path and dont use replace 2021-09-12 13:08:50 +02:00
colorjson Init 2021-09-12 13:08:42 +02:00
columnwriter mod: Use proper path and dont use replace 2021-09-12 13:08:50 +02:00
ctxreadseeker mod: Use proper path and dont use replace 2021-09-12 13:08:50 +02:00
ctxstack Init 2021-09-12 13:08:42 +02:00
difftest difftest: Sync code 2021-10-30 01:26:00 +02:00
gojqextra interp,fq: Make bit operators normal functions 2022-01-09 01:06:36 +01:00
hexdump decode: Major decode API refactor 2021-11-15 21:12:07 +01:00
hexpairwriter mod: Use proper path and dont use replace 2021-09-12 13:08:50 +02:00
ioextra interp: Move *CtxWriter to ioextra, some comments cleanup 2021-11-05 17:28:29 +01:00
num mod: Use proper path and dont use replace 2021-09-12 13:08:50 +02:00
pos Init 2021-09-12 13:08:42 +02:00
profile cli: Make profile build optional and move it to cli 2021-09-12 13:08:53 +02:00
progressreadseeker doc: Document io packages a bit 2021-11-21 21:55:53 +01:00
recoverfn decode,interp: Make fuzzing work again and cleanup fatal/error code 2021-11-16 17:11:26 +01:00
script windows: Unbreak tests 2022-01-04 22:11:25 +01:00
shquote shquote: Remove unnecessary sb.Reset() 2021-11-20 10:46:36 +01:00