LLVM bindings for the Go programming language
Go
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples/factorial
LICENSE
Makefile
README
analysis.go
bitwriter.go
core.go
executionengine.go
target.go
transforms_ipo.go
transforms_scalar.go

README

WARNING: I'm not working on this project anymore, for a more recent version,
take a look at axw's fork: https://github.com/axw/gollvm.

-----------------------------------------------------------------------------

LLVM bindings for the Go programming language

Most of the stuff is ported. API is primitive, it doesn't use Go's type system
extensively to provide safety. I think it's possible to mimic LLVM C++ API type
hierarchy quite closely using Go's methods and type embedding. But I haven't
done that, because doing that requires a lot of usability testing. If anyone is
interested in using Go LLVM bindings for a very big and serious project, let me
know. In that case we can work more closely on improving the bindings API.

P.S. Most notable things that are still missing are BitReader and BitWriter,
I'll implement them soon.