Please fill in the fields below to submit an issue or feature request. The
more information that is provided, the better.
Description of issue or feature request:
Currently handcoded parsers are used. It is not a very flexible approach. It complicates the matters a lot, both understanding and modification.
There exists a DSL called Kaitai Struct for describing binary parsers. It allows to describe the structure in a declarative way and then compile it into a parser in multiple programming languages.
It may make sense to replace handcoded parsers with generated ones.
Please fill in the fields below to submit an issue or feature request. The more information that is provided, the better.
Description of issue or feature request: Currently handcoded parsers are used. It is not a very flexible approach. It complicates the matters a lot, both understanding and modification.
There exists a DSL called Kaitai Struct for describing binary parsers. It allows to describe the structure in a declarative way and then compile it into a parser in multiple programming languages.
It may make sense to replace handcoded parsers with generated ones.
BTW, https://github.com/kaitai-io/kaitai_struct_formats/blob/master/security/openpgp_message.ksy may be helpful.