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

Direct compilation for BIP / view for Data.Bits? #13

Open
clayrat opened this issue Aug 28, 2017 · 5 comments
Open

Direct compilation for BIP / view for Data.Bits? #13

clayrat opened this issue Aug 28, 2017 · 5 comments

Comments

@clayrat
Copy link
Collaborator

clayrat commented Aug 28, 2017

Might be quite useful to link Bip/Bin/Biz to un/signed machine words, perhaps by making a covering function for Data.Bits.

@sbp
Copy link
Owner

sbp commented Aug 29, 2017

Agreed, and this is something that I can work on.

@clayrat
Copy link
Collaborator Author

clayrat commented Sep 13, 2017

One thing that we definitely need for this to happen are the bounded versions (the analogue of Prelude's Fin), so that we could fix the byte length. This however will definitely mess up the arithmetics, wonder if Coq has some solution here? One way out would be to define it as modular arithmetics, just have to figure out if real-world bytes behave like that :)

@clayrat
Copy link
Collaborator Author

clayrat commented Sep 13, 2017

@clayrat
Copy link
Collaborator Author

clayrat commented Oct 3, 2017

@clayrat
Copy link
Collaborator Author

clayrat commented Oct 3, 2017

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