Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite the parsers in Kaitai Struct #258

Open
KOLANICH opened this issue Jul 9, 2020 · 1 comment
Open

Rewrite the parsers in Kaitai Struct #258

KOLANICH opened this issue Jul 9, 2020 · 1 comment

Comments

@KOLANICH
Copy link
Contributor

KOLANICH commented Jul 9, 2020

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.

@KOLANICH KOLANICH changed the title Rewrite parsers in Kaitai Struct Rewrite the parsers in Kaitai Struct Jul 9, 2020
@joshuagl
Copy link
Collaborator

Thanks for the suggestion, this is the first time I've heard of Kaitai.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants