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

[Feature Request] Use template files to define data #111

Open
00cpxxx opened this issue Dec 20, 2021 · 3 comments
Open

[Feature Request] Use template files to define data #111

00cpxxx opened this issue Dec 20, 2021 · 3 comments

Comments

@00cpxxx
Copy link

00cpxxx commented Dec 20, 2021

Thanks for the great component! I started using it recently and it is nice.

I wonder if there is a way to add support to map the data using C like structs or something similar. I understand it is possible to define tables to map each byte to something else, what I propose is actually see the data parsed into a struct of bytes. This is something done in 010 editor where you can set templates and it will parse the data for you. Template list at:
https://www.sweetscape.com/010editor/repository/templates/

010 goes far beyond by allowing code to be added to the parser, I'm thinking much smaller about a only a struct that can map the current file.

This could be extended to also work in comparison mode to make the list with field names instead of offsets for the difference.

If there is any interest on working this let me know, otherwise feel free to close the request as out of scope.

@abbaye
Copy link
Owner

abbaye commented Dec 21, 2021

Thank for good word!😁

Nice idea. Can you update your link. It's doesn't work 😕

@abbaye
Copy link
Owner

abbaye commented Dec 21, 2021

If you like please put a ⭐

@00cpxxx
Copy link
Author

00cpxxx commented Dec 21, 2021

Link updated and starred!

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