nC_PROGRAMMING LANGUAGE

Reading the project

The language is nC; the compiler is ncc. Ordinary source uses .n. Machine modules also use .nm, and primitive examples use .ncp.

The native compiler exposes analysis and emission operations under compiler. It participates in bootstrap generations B and C. The retained Stage0 provides the development CLI and routes that the candidate does not yet implement. V81 has incomplete command-line help; use the kit README to identify supported commands.

ComponentResponsibility
.n sourceFunctions, typed places, control flow and imports
Root [@]Foundational contracts and continuity with material layers
[@machine]Typed instructions, registers, labels and terminators
primitive[@]Lower-level material contracts
RuntimeServices and providers required by a program
MCT and backendMaterialization, object formats, ABI and targets

Begin with a complete program, run semantic analysis, then inspect its IR. Native execution additionally requires a target and the corresponding providers. A hardware example may be valid for analysis without being executable on the host machine.

The directories examples/00_hello, examples/01_basics, examples/11_machine and examples/12_primitive group examples by subject. Milestones such as V81 identify engineering work; they are not stable language-version numbers.

View source on GitHub ↗PDF manual ↓

Search nC