This repository is for building a self-hosted (bootstrap) Nitpick compiler, specifically focusing on generating pure LLVM IR directly from Nitpick.
- Cycle 1-4 (Stage 0): ✅ Completed. The
npkc-stage1prototype compiler is fully operational. It is capable of parsing, typechecking, and generating LLVM IR for a significant subset of the Nitpick language (functions, structs, pointers, arrays, results, etc.). - Cycle 5 (Stage 1 / Advanced Features): 🚧 In Progress. Currently building
npkc-stage2(written in Nitpick) usingnpkc-stage1. We have completed Cycle 5.1 (Generics and Monomorphization) and are now working towards Traits and the Module System.
To build the Stage 1 compiler:
./test_stage1.shTo build the Stage 2 components (Lexer, Parser, Typechecker):
./build_stage2.sh