The Rust compiler for the No Clue programming language. https://nclang.org
Find a file
2025-12-13 17:40:42 -05:00
.github feat: add sleep functionality and time utilities to the standard library 2025-11-27 13:35:43 -05:00
src feat: add Dead Code Elimination optimization to remove unreachable functions and unused globals. 2025-12-13 17:40:42 -05:00
std wip: time stuff, better variadic, etc 2025-12-12 20:19:06 -05:00
tests feat: Implement basic explicit memory deallocation with free instruction and introduce a memory optimization pass. 2025-12-13 16:53:03 -05:00
.gitignore initial commit 2025-11-25 22:45:44 -05:00
Cargo.lock initial commit 2025-11-25 22:45:44 -05:00
Cargo.toml initial commit 2025-11-25 22:45:44 -05:00
LICENSE initial commit 2025-11-25 22:45:44 -05:00
Makefile feat: add installation and uninstallation commands to Makefile; enhance std library resolution in CompilerDriver 2025-11-29 14:00:30 -05:00
README.md feat: built-in functions: assert, panic, type casting, and new 2025-11-26 10:05:39 -05:00

No Clue Compiler (NCC)

The Rust compiler for the No Clue programming language.

Building

cargo build --release

Usage

./target/release/ncc <run|build|check> <file>
  • run: Run the program.
  • build: Build the program.

Structure

ncc/
└── src/
    └── compiler/
        ├── backend # Backends, target, etc.
        ├── diagnostics # Diagnostics, diagnostics engine, etc.
        ├── hir # High-level intermediate representation.
        ├── ir # Intermediate representation.
        ├── passes # Passes, optimizations, etc.
        ├── source # Source files, source manager, etc.
        └── syntax # AST, parser, etc.