binarylang
binarylang copied to clipboard
Binary parser/encoder DSL
Forward declarations would be very useful for large parsers with multiple interconnected sub parsers, and working without them is very difficult. Please add a way to use forward declaration.
1. Fixed length strings. In order to read a string that is exactly 200 bytes, you are forced to make a subparser and use @get. Ideally, we can define a...
I have little snippet: ```nim import binarylang struct(i7, endian = l, bitEndian = r): u1: flag = 0 7: value block: var sbs = newStringBitStream() for v in -10 .....
The more I use binarylang the more I like it, there's no way back now :) I have to deal with fields that are not supported out of the box...
I'm trying to parse incoming TCP stream from `AsyncSocket`. The natural way would be to pull data byte-by-byte according to parser definition, terminating the read when end of parser logic...
For expresiveness and consistency, it would be nice to use the binarylang's data structure definitions, to define outgoing only data in a network protocol, that does not need to be...