llvm-hs/llvm-hs-pretty

Pretty printer for LLVM AST to Textual IR

48
/ 100
Emerging

Converts `llvm-hs-pure` AST back to canonical LLVM textual IR, enabling round-trip validation through the LLVM verifier without C++ bindings. Uses a polymorphic `PP` typeclass to support printing individual IR elements (constants, instructions) alongside complete modules. Validates fidelity through test suite that parses official LLVM IR, reconstructs it via `llvm-hs-pure` AST, and compares textual output against originals.

No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 9 / 25
Maturity 16 / 25
Community 21 / 25

How are scores calculated?

Stars

70

Forks

37

Language

LLVM

License

MIT

Last pushed

Jun 11, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/llvm-hs/llvm-hs-pretty"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.