Learn Arya.
Build as you go.
Start with a message. Finish with a tested, native price calculator. Twelve small lessons connect the language you read with a program you can build and run.
Retained native course snapshot. These lessons target 2.0.0-alpha.3; record composition requires the matching alpha.3 SDK. The older npm compiler and Arya Code 0.1 downloads use a different profile. Check current availability and platforms
One SDK.
One folder of examples.
Use a matching native SDK and a C11 toolchain. Download and extract the course, then open a terminal in its folder. The archive includes all lessons, their helper module and worked solutions.
Read the native installation guideNew to the toolchain? The setup guide explains source builds and application templates. macOS ARM64 is the locally qualified target; other targets remain experimental.
arya --version
arya check lessons/01-hello.arya
arya run lessons/01-hello.arya
arya test lessons/11-tests.aryaThe version should report Arya native 2.0.0-alpha.3. Native lessons use no Node, npm or Python. Keep lessons/lib/ beside the source files.
Build understanding
one result at a time.
- 01
Read
Trace a short, complete program.
- 02
Predict
Describe the result before revealing it.
- 03
Run
Check and execute with the native SDK.
- 04
Modify
Make a change and explain the difference.
Try the idea.
Your first native program
Meet values, bindings and output. One file becomes a program you can run.
YOUR GOALExplain the difference between a fixed binding and a value you can reassign.
const language = "Arya"
let started = 0
started += 1
print("Hello, " + language + "!")
print("Lessons started:", started)
What are the two lines this program will print?
arya check lessons/01-hello.arya
arya run lessons/01-hello.aryaReveal expected output
Hello, Arya!
Lessons started: 1Compare with a local run. This page displays examples and does not execute a compiler in the browser.
How it works
const prevents rebinding language; let allows started to change. += adds a value and assigns the result back to the binding.
print writes output. A plus sign joins strings; multiple print arguments are separated by spaces. arya run compiles the source and executes the native result.
Prove the idea to yourself.
Change the greeting to your name and add two to started instead of one.
Give me a hint
Change the string bound to language and the number after +=.
Show the worked solution
const language = "Samira"
let started = 0
started += 2
print("Hello, " + language + "!")
print("Lessons started:", started)
Hello, Samira! Lessons started: 2
One language project.
Two runtime contracts.
The native SDK is the focus of this course. Older tutorials and npm downloads describe the retained Node implementation. Match your tools and documentation before mixing examples.
| Workflow | Native Arya / 2.0 candidate | Earlier Node / 1.3 preview |
|---|---|---|
| Build output | C11 → an executable for the target OS and CPU | JavaScript ES modules → Node.js |
| Development tools | Native compiler, checker, formatter, tests and LSP; C11 toolchain for builds | The pinned npm package and Node.js 22.15+ |
| Modules | use std and use arya; explicit optional Python bridge | Arya modules, JavaScript/npm imports and Python interop |
| Application runtime | Target system libraries and selected feature dependencies | Node.js and the application’s installed packages |
| Browser interfaces | Native HTTP backend; HTML, CSS and JavaScript in the browser | Node backend; HTML, CSS and JavaScript in the browser |
| Course snapshot | 2.0.0-alpha.3: retained learning snapshot; current releases and target support are listed on the native downloads page | 1.3.0-alpha.9: the previously published npm preview |
What you can practise here
Native command-line programs, data transformations, exact-decimal calculations, optional contracts and automated tests. The SDK also includes HTTP and UI templates for your next project.
What to check before going further
The native SDK has no JavaScript/npm import path. Platforms need separate qualification, async scheduling is cooperative, and the HTTP server needs a separate TLS deployment layer. Python and MySQL are explicit optional integrations.
Read the profile and installation references
- Current native releases & target support
- Native language profile
- SDK & distribution
- Installation & platform status
- Published Node preview
Native guides are snapshots of the local source reviewed 13 November 2026. The published Node release is versioned separately.
A reference for
the next question.
Keep the language rules nearby, explore the library, and build something that uses your own data and your own test cases.