Repository navigation
Releases
ncc V168 R4 · Portable compiler for Windows and Linux
Linux standalone.1 for x86-64
Download the Linux standalone compiler (1,011,668 bytes). The package contains one executable and the license notices. Run ncc r hello.n on Alpine or Ubuntu, or build a portable executable with ncc b hello.n -o hello. The compiler and its default outputs have no dynamic loader or shared-library dependency. Linux procfs supplies the program arguments.
Terminal installation · Standalone SHA-256 checksums · Matching compiler and runtime sources · Results of 60 checks
Original Windows and GNU editions
This release provides a portable compiler for Windows x86-64 and Linux x86-64. Each platform archive contains two runtime files and the three project license notices. Installation
| Download | Contents |
|---|---|
| Windows ZIP · 8.47 MB | ncc.exe and ncruntime.dll |
| Linux tar.gz · 9.34 MB | ncc and libncruntime.so.2 |
| Optional compiler sources | The 141 native compilation units selected per host, with a relative path and SHA-256 for each unit in SOURCES.json. Five units use host-specific source files. |
Verify the archive against the SHA-256 checksums. The source snapshot describes the nC compiler units. A full rebuild also uses bootstrap tools and matching runtime providers.
Install from a terminal
Use the PowerShell, Command Prompt or Bash command to install for the current user. Each command checks the host and verifies the package SHA-256. The compiler installs in Local AppData on Windows and the XDG data directory on Linux. Website download and installation options · Windows per-user MSI
The optional nC BIOS mini kernel targets x86_64-unknown-none. Its 22 August 2026 image reached kmain in QEMU. Install its image, ELF and matching nC source separately. Windows kernel MSI · Kernel archive · Kernel guide · Supplemental package checksums
The terminal installation tests installed and reinstalled both packages, checked the installed payloads, and built and ran the example on Windows and Ubuntu. Both Windows shells also exercised uninstall.
What was tested
On Windows x86-64 and Ubuntu 24.04 under WSL, the extracted compiler passed self-test, compiled examples/00_hello/hello.n and produced a program that printed Hello, nC public beta with exit code 0. The test directories were outside a source checkout. The compiler did not need Rust, Cargo or LLVM on the search path. The Linux compiler, runtime and emitted example work together with the library beside the executables. The compiler and provider import glibc symbols up through 2.34.
R4 includes project name resolution and imported type lookup changes. Eight reference reports on each host matched the original bytes, including positive and negative cases. The clean B → C reconstruction completed earlier for A6. A fresh clean reconstruction of R4, the full machine.n consumer and complete ISA coverage remain pending. The published binaries are the existing R4 images with their matching providers.
| File | SHA-256 |
|---|---|
| Windows compiler | f2b744f07441573ad32d274c9596bb8f131a3981b8558d6c39f16d66708b53cc |
| Windows runtime | bef32be8f0cf734a91d5430ee5a915079eb10563cdcab0af5ab1746cdf149cfe |
| Linux compiler | c7a0889ff09ead304b896b3e8bee5ef9f12cb484115488e69a8473c45a0e49b3 |
| Linux runtime | 43b64017d08b3f12637d2e833c97c877282bc7f258ac756d65b63cf693f4b0fc |
nC V81 - Native bootstrap kit
nC V81 - Native bootstrap kit
This prerelease provides an experimental native compiler for Windows and Linux x86-64. It includes the matching runtime provider, hello and arithmetic examples, licenses and SHA-256 checksums. The first program requires no Rust, Cargo or LLVM installation.
Download and run
Select nc-bootstrap-v81-windows-x86_64.zip or nc-bootstrap-v81-linux-x86_64.tar.gz. Compare the downloaded archive with SHA256SUMS.txt before extraction.
Windows PowerShell:
.\ncc.exe self-test
.\ncc.exe compiler emit-executable hello.n --target x86_64-pc-windows-msvc --out hello.exe
.\hello.exeLinux or WSL:
chmod +x ncc
./ncc self-test
./ncc compiler emit-executable hello.n --target x86_64-unknown-linux-gnu --out hello
chmod +x hello
LD_LIBRARY_PATH="$PWD${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" ./helloExpected output: Hello, nC public beta. Exit code: 0. Linux was tested on Ubuntu 24.04 under WSL; kit imports require glibc 2.34 symbols or later. Keep the included runtime beside the compiler.
Documentation
- Website and library.
- Language Guide PDF: 9 pages.
- Compiler Architecture and Bootstrap PDF: 9 pages.
- Installation and source builds.
- Publication validation.
The website, manuals, download instructions and contribution templates are in English. Previously published chapter URLs redirect to their English equivalents.
Source correction
The ncc-ast string-catalog test expected 26 exports after charFromCode(int) -> str had already been added. The corrected test compares import-lowering symbols with the typed API catalog, rejects duplicates and explicitly requires charFromCode. All 118 ncc-ast tests pass. The string fixture also passes direct ncc analysis, IR generation and execution; invalid release calls are rejected.
This revision updates documentation, package instructions and a source regression test. The kit compiler and runtime retain their V81 B2 binary identities. Updated archive and PDF checksums are published in SHA256SUMS.txt; the original release tag remains unchanged.
Scope
V81 exposes a partial bootstrap CLI. Tested routes include self-test, compiler sema, compiler emit-ir, compiler emit-object and compiler emit-executable. --help, check and machine can return E_BOOTSTRAP_STAGE0_REQUIRED_001 with exit code 69.
V81 evidence records byte-identical B/C compilers within each host. Stage0 is retained and global Stage3 promotion remains open. The kit does not replace an existing installation or certify other ISAs. Memory remains manual/raw.
The validation record distinguishes retained reconstruction evidence from newly executed tests and records outstanding failures. No global pass is implied by the AST correction.
Report issues with compiler and provider identity, host, command, minimal source and expected result.