Skip to main content

Sona Programming Language with Cognitive Accessibility and Neurodivergent-First Features

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sona_lang-0.15.1.tar.gz (466.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sona_lang-0.15.1-py3-none-any.whl (561.4 kB view details)

Uploaded Python 3

File details

Details for the file sona_lang-0.15.1.tar.gz.

File metadata

  • Download URL: sona_lang-0.15.1.tar.gz
  • Upload date:
  • Size: 466.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for sona_lang-0.15.1.tar.gz
Algorithm Hash digest
SHA256 f0b357aa60fe80c293607995026be925d78f2e2bcbfde1d1511ec6ce729a8b27
MD5 0a2814a3f033713ed9abc4279007a0b8
BLAKE2b-256 37339d747353d4a13d0af784c0465122c32bde7355a7806da197dbcbae7e5f19

See more details on using hashes here.

File details

Details for the file sona_lang-0.15.1-py3-none-any.whl.

File metadata

  • Download URL: sona_lang-0.15.1-py3-none-any.whl
  • Upload date:
  • Size: 561.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for sona_lang-0.15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1457e247a50c0ce2f3acae12424c4a6303c841adb1d813c61cbb1b2cc15d532a
MD5 483b225378e5ca92bcd2e9fc0f15cc72
BLAKE2b-256 697802f6e2d8e3d7f41c460e6da09fd145ae982f380fa9cdc662a06f2cc05c1b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page