nC_Systems programming language
NewNative compiler preview · Windows and Linux x86-64

Control at
every level.

Functions, explicit memory and typed machine instructions. nC brings them into one continuous language, so the program's meaning stays in view from source to machine.

Read nC
.nLanguage guide
counter {
    fn:
        public:
            run() -> bool {
                value >> int <- 0;
                while (value < 3) {
                    value <- value + 1;
                }
                return value == 3;
            }

    ref main ->> run;

    fa:
        return true;
}

Places and functions

A typed place, an explicit write, a named function and a declared entry point.

About this example

The example returns a bool. The entry point is selected by ref main; the function name alone has no entry-point privilege.

Four language surfaces. One semantic model.

[@]Foundations stay explicit.

[@machine]Machine control stays typed.

primitive[@]Representation stays part of the model.

Language overview

See nC in 20 seconds.

Four language surfaces. One compiler pipeline. A native build, from source to execution.

20 seconds · English · Music and sound effectsDownload video
Read the video transcript

Original electronic instrumental music plays throughout. Dry mechanical clicks mark scene and tab changes; the compiler signal travels from left to right.

  1. 0:00–0:03

    Control at every level.

    The nC systems programming language.

  2. 0:03–0:08

    Four surfaces. One continuous language.

    Functions: ref main ->> run. Root [@]: rootCore[@]. Machine [@machine]: add rax, rbx and jmp.ov overflow. Primitive: portWrite uart0.data <- 0x41.

    Inspect the source examples
  3. 0:08–0:14

    From source to execution.

    The ncc pipeline: Source (.n) → Analysis (AST) → Representation (IR) → Materialization (ABI) → Execution (PE/ELF).

    Explore the compiler phases
  4. 0:14–0:18

    Build and run.

    The terminal sequence reproduces a verified run of the public V81 Windows kit.

    .\ncc.exe compiler emit-executable hello.n --target x86_64-pc-windows-msvc --out hello.exe
    .\hello.exe

    Output: Hello, nC public beta. Exit code 0.

    Build your first program
  5. 0:18–0:20

    ncc-lenguage.org

    Native bootstrap V81 · Open source. The music fades out.

For systems programmers

More of the contract
belongs in the language.

The goal is C-class control with a wider, continuous model. These are the design choices behind that goal.

[@machine]

A typed machine boundary

GNU extended asm describes instructions through a template and operand constraints. nC's machine layer represents instructions, labels and control transfers in the language model, with contracts carried through semantic analysis and IR.

Read the machine-layer contractC context: GCC extended asm
size / align / ABI

Representation you can inspect

Layout, alignment and calling conventions change what a program does. nC treats representation and linkage as part of its continuous model. Memory remains manual/raw: allocation, valid addresses and release stay under program control.

Read about memory and representation
source → IR → image

A compiler you can trace

The path from a declaration to native bytes should be inspectable. ncc exposes analysis and emission routes; the public bootstrap records source identities, providers and artifact comparisons for named generations.

Inspect the compiler phasesReview the published evidence

nC is in active native bootstrap. The public edition's documented contracts define today's supported scope; they are the starting point for evaluating the language.

Inside the compiler

Follow the program through ncc.

Explore the compiler pipeline.
Select a phase to inspect its responsibility.

01 / SOURCEPhase reference

Declare the program.

Functions, typed places and imports define program units. Visibility, control flow and representation must retain their identity through analysis.

Source referenceexamples/00_hello/hello.n
Read the contract ↗

Build with ncc

A first program, end to end.

Download the compiler. Save the example as hello.n.
Verify the result on your machine.

hello.n
use <io:output>;

helloCompacto {
    to main {
        println("Hello, nC public beta");
    }

    fa:
        return true;

}
Read the annotated example ↗
❯PowerShell · inside the extracted kit
.\ncc.exe self-test
.\ncc.exe compiler emit-executable hello.n `
  --target x86_64-pc-windows-msvc --out hello.exe
.\hello.exe
Expected output
Hello, nC public beta
Exit code 0

See the release notes for supported commands and platform requirements.

Keep the compiler and its runtime provider together.Get the native kit ↗

Public edition

Evidence you can open.

Read the V81 release notes
Bootstrap V81: published scope
Native kitsWindows x86-64 and Linux / WSL x86-64
ReconstructionB2 and C2 are byte-identical within each documented host.
Language contractManual/raw memory, explicit representation and typed machine surfaces.
Open workFull native CLI coverage and global Stage3 promotion.

The idea behind nC

One language.
Every layer.

A function, a pointer, an instruction and a linked image belong to the same program. nC is being built to keep their contracts connected.

Read about semantic continuity

Documentation

A language is also
the way you learn it.

Browse all 16 chapters

Built in the open

Read it. Build it.
Help define it.

Useful reports start with a minimal program, a complete command and an observable result.

Search nC