On Monday, 10 August 2015 at 12:38:11 UTC, ketmar wrote:
it looks like you can use some serialization library instead, like Orange. structs that those library takes as input can be seen as a kind of grammar description. ;-)

Trouble with that is what if there's some funny formats some data is in? Like I described above a string which starts with a number and continues for that number of bytes. What if it's a string that goes on until you hit a '\0' ? A serialisation library like Orange couldnt do that, as it's merely for (de)serialising D objects, I think?

Reply via email to