-
Notifications
You must be signed in to change notification settings - Fork 10
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
Autogenerate "low-level projection" from metadata #1
Comments
For reading the metadata, use either Mono.Cecil or System.Reflection.Metadata. The latter is newer, and slightly more low-level and lightweight, but probably sufficient if we don't need an in-memory-representation of everything and instead just go through the types and write them out as Rust code one-by-one. |
I started implementing the generator in C# using Mono.Cecil in my branch. The C# code is more like a proof-of-concept in terms of coding style, and I wouldn't object to a rewrite in F#. I'm just not really familiar with F#. Running the codegen for the whole of |
The problem was the keyword |
Can this be closed now that we basically have a "mid-level" API (as high-level as possible, but still currently unsafe)? |
great! sorry I haven't really been contributing. i have been reading the code though & am amazed by what you've done, I didn't bother uploading any of the stuff I had because your implementations were so much better. I still hope to contribute in the future. |
Tentatively decided to write this in F# (there doesn't seem to be much benefit to bootstrapping a tool like this in Rust)
The text was updated successfully, but these errors were encountered: