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

Parse bitfields #339

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Parse bitfields #339

wants to merge 4 commits into from

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 5 times, most recently from c8e6ce7 to 621f413 Compare January 13, 2025 11:29
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 marked this pull request as ready for review January 16, 2025 11:12
@phadej phadej changed the title Bitfields Parse bitfields Jan 16, 2025
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.

1 participant