llir/llvm
View on GitHub ↗ ★ 1,285 Go
Library for interacting with LLVM IR in pure Go.
5 mentions on Hacker News by 4 people: 1 story, 4 comments · first 2017-06-24 · latest 2025-12-07
20082026
-
…Java example is rather educational, but there are several practical example,s such as in Go Lang: https://github.com/llir/llvm
comment by jakozaur · 2025-12-07 · in Java Hello World, LLVM Edition -
…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…
comment by aykevl · 2018-08-18 · in Show HN: TinyGo – LLVM-based Go compiler for microcontrollers -
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 :)
comment by sbinet · 2018-08-18 · in Show HN: TinyGo – LLVM-based Go compiler for microcontrollers -
…IR assembly language (but that's a different project altogether, and a huge effort in itself). [1]: https://github.com/llir/llvm/blob/master/asm/internal/ll.bnf [2]: https://github.com/llir/grammar [3]: https://github.com/goccmack/gocc
comment by mewmew · 2017-06-24 · in Show HN: A pure Go library for interacting with LLVM IR -
▲ 81
Show HN: A pure Go library for interacting with LLVM IRstory by mewmew · 2017-06-24 · 9 comments