Sona
Sona is an AI-native programming language and developer toolchain focused on clear execution, readable diagnostics, deterministic examples, and cognitive accessibility.
Current release: 0.15.1
What Sona Provides
- A Python-hosted runtime and CLI for
.sonaprograms. - A stable first-run path for new developers.
- Clear user-facing diagnostics with actionable hints.
- A source-validated official example suite.
- Standard library documentation for stable user-facing modules.
- Cognitive accessibility references for supported developer workflows.
- Guardian runtime documentation for local resilience and release trust surfaces.
Install
Sona requires Python 3.11 or newer.
Install the published Python package:
python -m pip install sona-lang
Confirm the install:
sona --version
Expected output shape:
Sona 0.15.1
Note: the source repository may be ahead of the latest published PyPI package. For the newest source release, install from a source checkout.
First Run
The README does not assume access to repository examples. Create a local file first, then run it.
Bash or macOS/Linux shell:
echo 'print("Hello, Sona!")' > hello.sona
sona hello.sona
Windows PowerShell:
'print("Hello, Sona!")' | Out-File -Encoding utf8 hello.sona
sona hello.sona
Expected output:
Hello, Sona!
CLI Basics
sona --help
sona run hello.sona
sona hello.sona
Both sona run <file.sona> and sona <file.sona> are supported for local files.
Documentation
- Quickstart
- Language Reference
- Standard Library Reference
- Accessibility Reference
- Guardian Reference
- Diagnostics Guide
- Package Manifest
- Native Independence Roadmap
- Release Notes
Official Examples
Official examples are part of the source repository validation surface. They are not required to exist in installed Python packages.
From a source checkout:
python tools/run_examples.py
sona run examples/hello.sona
VS Code
Sona has VS Code ecosystem support through the Sona editor tooling and companion extensions.
- The main Sona VS Code extension provides syntax highlighting, command palette
actions, and editor workflow support for
.sonaand.smodfiles. - The Sona Receipt Explorer visualizes and compares Sona execution receipt files.
Repository Layout
sona/ Core runtime, CLI, parser, and packaged stdlib
stdlib/ Source .smod modules
docs/ Current user-facing documentation
examples/ Official source-checkout examples
tools/run_examples.py Source-checkout example validator
.github/workflows/ci.yml Continuous integration workflow
vscode-extension/ Main Sona VS Code extension
extensions/sona-receipt-explorer/
Receipt Explorer VS Code extension
Package Scope
The Python package is intentionally lean. Docs, examples, tests, extension sources, local reports, and build artifacts are source-repository materials and are excluded from release wheels and sdists.
Contributing
See CONTRIBUTING.md. Keep pull requests focused, document runtime-visible behavior, and do not commit local test files, temporary build output, or planning notes.
License
Sona is released under the MIT license. See LICENSE.
Metadata
Release files for sona-lang 0.15.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sona_lang-0.15.1.tar.gz | 466.9 kB | Without provenance | Details for sona_lang-0.15.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sona_lang-0.15.1-py3-none-any.whl | Python 3 | none | any | Details for sona_lang-0.15.1-py3-none-any.whl |
Total release size: 1.0 MB
Release files / sona_lang-0.15.1.tar.gz
| Download URL | sona_lang-0.15.1.tar.gz |
|---|---|
| Size | 466.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0b357aa60fe80c293607995026be925d78f2e2bcbfde1d1511ec6ce729a8b27
|
|
BLAKE2b-256 checksum How to use checksums |
37339d747353d4a13d0af784c0465122c32bde7355a7806da197dbcbae7e5f19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / sona_lang-0.15.1-py3-none-any.whl
| Download URL | sona_lang-0.15.1-py3-none-any.whl |
|---|---|
| Size | 561.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1457e247a50c0ce2f3acae12424c4a6303c841adb1d813c61cbb1b2cc15d532a
|
|
BLAKE2b-256 checksum How to use checksums |
697802f6e2d8e3d7f41c460e6da09fd145ae982f380fa9cdc662a06f2cc05c1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Security for sona-lang 0.15.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.