nibble
github.com · Open source · Maintained
Single-pass LLVM frontend in about 3000 lines of C
- Developer tools
- Open source
- C
- Day-7 check
- Day-30 check
- compiler
- llvm
- ir
- llvm frontend
- single pass compiler
- c compiler project
- llvm ir generation
- compiler internals
- Stars
- 109
- Forks
- 1
- Open issues
- 1
- Last commit
- Found
- 6 months ago
GitHub figures as of . They are context, not a ranking.
nibble is a compiler frontend that generates LLVM IR in a single pass, written in roughly 3000 lines of C with no external dependencies and no AST. The author notes that the IR is not perfect and documents one known limitation in the README, which suits readers interested in compiler internals.
Repository description on GitHub: “Generating LLVM IR without malloc or external dependencies ”
What it does
- Single-pass compiler that emits LLVM IR
- Written in about 3000 lines of C with no external dependencies
- No AST and no heap allocations in the compiler
- Supports structs, pointers, function pointers and loops
Good for
- Study how a single-pass LLVM frontend works
- Build the compiler and run its graphical demos
- Read a small C compiler as a reference for IR generation
Suits: Compiler enthusiasts studying LLVM IR generation.
Worth knowing: The IR is not perfect, and the README documents one known downfall
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw nibble on , when glouwbug posted it to Show HN. GitHub listed no published releases for glouw/nibble when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 102 points, 25 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 102 points, 25 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: glouw/nibble
- Found: glouwbug posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was nibble released?
- No dated release record is available. Kip found it on Show HN on 14 May 2026.
- Is nibble open source?
- Its source is public on GitHub at glouw/nibble under the MIT licence.
- What does nibble run on?
- Command line.
- Is nibble free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is nibble still maintained?
- It had a commit or release in the last year, though not in the last 90 days, as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | glouw/nibble REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-48130186. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.