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 License

Current release: 0.15.0

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 the stable user-facing modules.

Install

Sona requires Python 3.11 or newer.

python -m pip install sona-lang

Confirm the install:

sona --version

Expected output shape:

Sona 0.15.0

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

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

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.0.tar.gz (459.5 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.0-py3-none-any.whl (554.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sona_lang-0.15.0.tar.gz
Algorithm Hash digest
SHA256 3af93d9232335cc96d99da3f5fa710f2af82c195a31f53942c52234f9d7da827
MD5 45ce552574b4efb8beaa2949ba64e2a4
BLAKE2b-256 1ed903b1fc93402d75173360c8fcd3ff060e7f1545c27a1bc33e973a5cd45977

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sona_lang-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9eb221cced7feca3387a329395ef6a1adb065681ace9046514b69ffef34e488e
MD5 d58b626d7d7e7c59ba7e9383365fcee5
BLAKE2b-256 c6a7bf44b3cf8bcb5bc3b8b08a65ead74156c5dcb143d95fa40b0a3867d5b8c7

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