-
Notifications
You must be signed in to change notification settings - Fork 0
Rust codegen #156
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
Rust codegen #156
Conversation
…zg251/rust-codegen
…zg251/rust-codegen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is amaaazing! First round done.
I'm looking forward to the testsuites as I wonder if using Rust primitives 'char' for example, might break stuff because of some kind of special treatment.
lambda-buffers-codegen/src/LambdaBuffers/Codegen/Rust/Print/LamVal.hs
Outdated
Show resolved
Hide resolved
lambda-buffers-codegen/src/LambdaBuffers/Codegen/Rust/Print/LamVal.hs
Outdated
Show resolved
Hide resolved
lambda-buffers-codegen/src/LambdaBuffers/Codegen/Rust/Print/LamVal.hs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glorious! Left a few comments, but regardless we can proceed.
Rust codegen generating types and trait implementations.
Based on the following LambdaBuffers definition:
we get the following implementation (formatted for better readability):