Skip to main content

Sona

Sona is an AI-native programming language and developer toolchain focused on clear execution, readable diagnostics, deterministic examples, and cognitive accessibility.

Source Version CI Python Package License VS Code Marketplace VS Code Installs YouTube GitHub Sponsors Ko-fi

Current release: 0.15.1

What Sona Provides

  • A Python-hosted runtime and CLI for .sona programs.
  • 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

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 .sona and .smod files.
  • 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.

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)

Source distribution for sona-lang 0.15.1
File Size Uploaded
sona_lang-0.15.1.tar.gz 466.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sona-lang 0.15.1
File Interpreter ABI Platform
sona_lang-0.15.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.15.1 This release

2 release files

0.15.0

2 release files

0.12.1

2 release files

0.12.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page