Hacker News new | ask | show | jobs
by sbinet 2860 days ago
Next step is to directly generate IR with (link: https://github.com/llir/llvm) github.com/llir/llvm. And then rewrite all of llvm in Go :)
1 comments

go get llvm.org/llvm/bindings/go/llvm

I'm actually using it for some things

I'm using this exactly. It's not the nicest interface but it supports almost everything that LLVM does. https://github.com/llir/llvm looks nice but I don't think you can interface with LLVM from there, which is needed if you want to do more advanced stuff.