Skip to content

alternative-intelligence-cp/nitpick-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nitpick Bootstrap Compiler

This repository is for building a self-hosted (bootstrap) Nitpick compiler, specifically focusing on generating pure LLVM IR directly from Nitpick.

Current Status

  • Cycle 1-4 (Stage 0):Completed. The npkc-stage1 prototype 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) using npkc-stage1. We have completed Cycle 5.1 (Generics and Monomorphization) and are now working towards Traits and the Module System.

Running the Compiler

To build the Stage 1 compiler:

./test_stage1.sh

To build the Stage 2 components (Lexer, Parser, Typechecker):

./build_stage2.sh

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors