A compiler for the HULK programming language written in Rust, targeting LLVM IR.
Source (.hulk)
→ Lexer [logos]
→ Parser [LALRPOP / LALR(1)]
→ Semantic Analysis + Type Inference
→ LLVM IR [inkwell]
→ Native binary
# Requires LLVM 17
export LLVM_SYS_170_PREFIX=/usr/lib/llvm-17
cargo build --release./target/release/hulkc program.hulk- Full HULK language support
- Static type checking
- Type inference (extension)
- LLVM-optimized native code generation