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

Implement codegen for rs backend #145

Merged
merged 10 commits into from
Apr 11, 2021
Merged

Implement codegen for rs backend #145

merged 10 commits into from
Apr 11, 2021

Conversation

almarklein
Copy link
Collaborator

@almarklein almarklein commented Apr 2, 2021

  • Write rs_mappings.py with enum->int mappings.
  • Validate structs created in the code, and remove checking structs at runtime.
  • Compare flags and report differences.
  • Validate use of functions.
  • Test some of the new code.
  • Add tests that use the new codegen to verify that the code is up to date in CI.
  • Better structure all codegen functions and make their use more similar.
  • Since we now have more codegen-time validation, we can remove some runtime checks.
  • Remove old codegen file that was still kept as a reference.

@almarklein
Copy link
Collaborator Author

Ready!

@Korijn Korijn merged commit 0d8924f into main Apr 11, 2021
@Korijn Korijn deleted the codegen-rs branch April 11, 2021 09:04
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.

None yet

2 participants