llvm-hs/llvm-hs-pretty
Pretty printer for LLVM AST to Textual IR
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.
Stars
70
Forks
37
Language
LLVM
License
MIT
Category
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.
Compare
Higher-rated alternatives
javaparser/javaparser
Java 1-25 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.
asmjit/asmjit
Low-latency machine code generation
lioncash/biscuit
A runtime code generator for RISC-V
bytexenon/Tiny-Lua-Compiler
⛄Possibly the smallest Lua compiler ever
iml130/mlir-emitc
Conversions to MLIR EmitC