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

Where are the binary parsers from Spirit? #143

Open
LegalizeAdulthood opened this issue Feb 28, 2024 · 2 comments
Open

Where are the binary parsers from Spirit? #143

LegalizeAdulthood opened this issue Feb 28, 2024 · 2 comments

Comments

@LegalizeAdulthood
Copy link

Spirit V2 had parsers for binary values. When parsing binary file formats, e.g. PNG image file format, numeric values are present as binary encodings using a particular byte order. IMO, this was one of the things that set Spirit apart from other parsing frameworks.

@tzlaine
Copy link
Collaborator

tzlaine commented Feb 28, 2024

I never used this, and aside from Michael Caisse I never met anyone that did. It seemed like little bang for a lot of buck. I'll leave this open, and I may do it one day, but it's a pretty low priority.

@LegalizeAdulthood
Copy link
Author

As I say, it's useful for parsing binary file formats. It's a bit of a chicken-and-egg situation -- parser frameworks don't typcially provide facilities for doing it, so the people parsing binary file formats don't use parser frameworks and they don't show up in reviews of parser frameworks :). I'd be content with an outline of an example of how to roll my own.

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

No branches or pull requests

2 participants