Learn Nytrix
Start with a small program, then choose a guide for your task.
Prerequisites: none; start with the first program.
How to read these docs
- Learn pages teach workflows and concepts with examples.
- Spec pages define language rules and implementation boundaries.
- Cookbook recipes are copy-paste starting points; check linked contracts before adapting them.
Next:
- Start — compile and run a program.
- Quick reference — check syntax and behavior surprises.
- Specification — look up exact language rules.
Start here
- Start: compile and run a file, then read one annotated program.
- Programs: organize files, imports, and entry points.
- Tooling: find an exported function with
ny doc.
First concepts
- Quick reference for syntax and behavior that commonly surprise users.
- Currying and partial application for binding leading function arguments and adapting binary callables.
- Numbers, ownership, effects, proofs, and compile-time programming.
- Concurrency and native interfaces when your program needs those boundaries.
Application guides
- Networking, UI, and browser and WebAssembly.
- Cookbook for short task-oriented patterns.
Workflows
- Build, testing, tooling, and troubleshooting.
- REPL for interactive use; packages for dependency workflows.
- Browser and WebAssembly for the browser target and its host boundary; programs for runnable projects.
- Performance for timing, profiles, and contention; compiler debugging for diagnostics and pass isolation.
- Recorded measurements for historical experiments, not current performance guarantees; execution routes for execution-path differences.
Project boundaries
Status and execution routes covers current support, adoption, and known limits. Architecture is for contributors who need to locate a compiler subsystem.