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

Bit fields? #271

Open
armeenm opened this issue Apr 19, 2022 · 1 comment
Open

Bit fields? #271

armeenm opened this issue Apr 19, 2022 · 1 comment

Comments

@armeenm
Copy link

armeenm commented Apr 19, 2022

Is it possible to use bit fields in ATS2?

@githwxi
Copy link
Owner

githwxi commented Apr 20, 2022

Yes.

You can do bit fields in C and give your operations some types in ATS.
ATS can be seen as a front end to C. At this point, there is no syntax in ATS2
to support bit fields. Such support is possible in ATS3 in the future, though.

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