1
1
mirror of https://github.com/wader/fq.git synced 2024-11-25 23:13:19 +03:00
fq/pkg
Mattias Wadman b08ef00dd1 decode,interp: Refactor format groups into a proper struct
Replaces []Format with a Group type.
A bit more type safe.
Breaking change for RegisterFormat, now takes a first argument that is a "single" format group.
Lots of naming cleanup.

This is also preparation for decode group argument which will enable doing intresting
probing, ex a format decoder could know it's decode as part of probe group  (html could
be probed possibly), or have "arg probe" group for decoder who inspect args to know
if they should probe (-d /path/to/schema etc) to enable nice CLI-ergonomics.
2023-04-29 20:02:34 +02:00
..
bitio mp4,bitio: Fix broken pssh decoding and add proper reader cloning to bitio 2022-05-28 13:42:38 +02:00
checksum crc: Unbreak build on 32-bit arch 2021-12-25 15:47:54 +01:00
cli interp: Make completion work again 2023-03-10 21:58:35 +01:00
decode decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
fqtest fqtest: Run tests in parallell 2022-08-23 20:08:44 +02:00
interp decode,interp: Refactor format groups into a proper struct 2023-04-29 20:02:34 +02:00
ranges ranges,decode: Correctly skip empty ranges when adding unknown fields 2022-09-25 16:02:15 +02:00
scalar decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +01:00