3 ms·
It's interesting to see how they introduce a new binary format in their catalogue. I was expected to find a domain specific language to define the grammar of bi
by rahimiali 5y ago
It's interesting to see how they introduce a new binary format in their catalogue. I was expected to find a domain specific language to define the grammar of binary bitstreams, maybe as a context free grammar. Instead, they built a nice library of routines that helps them design custom parsers by hand for each new format.
- deleted 5y ago[deleted]
- mongol 5y agoI wonder if it would support also non-binary formats. The tool could evolve to handle json, yaml, xml, ini etc...
- wwader 5y agoHi, fq actually do support json so other similar text formats could work the same way. But it's currently implemented in a big hacky way, it's just a big blob that happens to be work as normal JSON. I've done some attempts at implementing it as a normal fq decoder but it's hard to figure out a way to represent the whitspace between values etc, ends up very clunky or not very user friendly. Any suggestions are very welcomed.