dannypsnl / racket-llvm

racket llvm C-API bindings
https://pkgs.racket-lang.org/package/racket-llvm
Apache License 2.0
17 stars 0 forks source link

Auto-generating from LLVM CAPI #2

Open Groverkss opened 1 year ago

Groverkss commented 1 year ago

Is there any reason that the bindings are not auto-generated from the CAPI? Something like this: https://github.com/revng/llvmcpy

If not, I would be happy to give a shot to write an auto-generator that does so. Let me know if you have already tried/are trying this!

dannypsnl commented 1 year ago

Because I was looking for how to use racket FFI so using the manual code, later I got copolit then copy & paste C code into the racket file as comment, copolit would generate the correct FFI code.

I had a plan to generate it, but I'm busy so that also postponed, that would be great if you would like to make one!