Skip to content

Experiment: generate as much as possible automatically#16

Draft
LPGhatguy wants to merge 5 commits into
mainfrom
generate
Draft

Experiment: generate as much as possible automatically#16
LPGhatguy wants to merge 5 commits into
mainfrom
generate

Conversation

@LPGhatguy
Copy link
Copy Markdown
Member

C is not fun to write by hand and these bindings are 95% mechanical. I've been writing everything by hand but have made a couple mistakes in the translation. It's also hard to make sweeping refactors to improve some of the APIs because of the sheer amount of code in the library.

I'd like to automatically generate as much of the library as we can, ideally from C or a C-like DSL. This is a stab at doing that in kind of a cursed way, through Rust macros.

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