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

Automatic decoder code from flex decoder inputs and Bitbench #16

Open
avicarmeli opened this issue Mar 20, 2022 · 2 comments
Open

Automatic decoder code from flex decoder inputs and Bitbench #16

avicarmeli opened this issue Mar 20, 2022 · 2 comments

Comments

@avicarmeli
Copy link

It seems to me that it shouldn't be too hard to generate automatic code for decoder from flex decoder inputs along with the Bitbench inputs.
I think it would simplify the addition of new decoders.

@zuckschwerdt
Copy link
Member

Do you mean C code? I.e. transform the "format string" to equivalent code? That's not so hard by hand but getting all edge cases right automatically is quite a project.
Maybe prototype something in JavaScript or Python if you like?

@avicarmeli
Copy link
Author

Yes I mean C code.
I think that it doesn't need to be perfect. It should give a good starting point where you can easily complete the code to full functioning decoder.

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