1
1
mirror of https://github.com/wader/fq.git synced 2024-12-24 05:41:38 +03:00
fq/pkg
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
..
bitio pcap: Add pcap, pcapng, ether8023, ipv4, udp, udp 2021-11-24 18:13:00 +01:00
checksum crc: Unbreak build on 32-bit arch 2021-12-25 15:47:54 +01:00
cli interp: More sure stdOS stops the signal forward gorutine 2021-11-25 13:35:20 +01:00
decode elf,ar: Add ar decoder, improved elf decoder 2022-01-05 22:05:09 +01:00
fqtest registry: Move to pkg/registry, feels better 2021-11-18 01:22:21 +01:00
interp interp,fq: Make bit operators normal functions 2022-01-09 01:06:36 +01:00
ranges decode,interp: Refactor to allow decode/fillgap a range 2021-10-19 14:38:11 +02:00
registry registry: Move to pkg/registry, feels better 2021-11-18 01:22:21 +01:00
scalar elf,ar: Add ar decoder, improved elf decoder 2022-01-05 22:05:09 +01:00