Skip to content

Parse bitfields #339

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

Merged
merged 4 commits into from
Jan 28, 2025
Merged

Parse bitfields #339

merged 4 commits into from
Jan 28, 2025

Conversation

phadej
Copy link
Collaborator

@phadej phadej commented Dec 19, 2024

Do not yet generate any Haskell code for them though.
We store bitfields separately from rest of the fields.
An idea is that in Haskell representation we could have a single
field in the data-record for all the bitfields,
even if they are spread across / interleaved between other fields
in the C struct.

@phadej phadej force-pushed the bitfield-a branch 6 times, most recently from 2d7dbf6 to bd0083b Compare January 16, 2025 11:12
@phadej phadej marked this pull request as ready for review January 16, 2025 11:12
@phadej phadej changed the title Bitfields Parse bitfields Jan 16, 2025
Do not yet generate any Haskell code for them though.
We store bitfields separately from rest of the fields.
An idea is that in Haskell representation we could have a single
field in the data-record for all the bitfields,
even if they are spread across / interleaved between other fields
in the C struct.
@edsko edsko merged commit 29d3632 into main Jan 28, 2025
10 checks passed
@edsko edsko deleted the bitfield-a branch January 28, 2025 09:54
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

Successfully merging this pull request may close these issues.

2 participants