Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2017 (2)
20082026
  1. …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
  2. …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…
  3. 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 :)
  4. …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