3 ms·
I wish there was some language-agnostic tool for defining byte-oriented data strucrures that could emit code to manipulate them in different languages. Protobu
by treyd 3y ago
I wish there was some language-agnostic tool for defining byte-oriented data strucrures that could emit code to manipulate them in different languages. Protobuf and similar tools exist but they still have their own weirdnesses and aren't entirely zero-overhead. I've seen plenty of pseudo-schemas used in standards documents, in particular the MLS spec which I think was finalized recently.
- lsaferite 3y agoSomething similar to this? https://bnfc.digitalgrammars.com/ https://bnfc.digitalgrammars.com/ I agree, having/using a well-defined standard that can have automated tooling to general language-specific implementations would be ideal.