Metadata-Version: 2.4
Name: sona-lang
Version: 0.12.1
Summary: Sona Programming Language with Cognitive Accessibility and Neurodivergent-First Features
Home-page: https://github.com/Bryantad/Sona.git
Author: Sona Development Team
Author-email: "WayCore Inc." <info@waycore.com>
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: lark-parser>=0.12.0
Requires-Dist: pygls<2,>=1.3.1
Provides-Extra: ai
Requires-Dist: torch>=2.2; platform_system != "Windows" and extra == "ai"
Requires-Dist: transformers>=4.43; extra == "ai"
Requires-Dist: accelerate>=0.33; extra == "ai"
Provides-Extra: toml
Requires-Dist: tomli-w>=1.0.0; extra == "toml"
Provides-Extra: dev
Requires-Dist: ruff>=0.5; extra == "dev"
Requires-Dist: black>=24.4; extra == "dev"
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: coverage>=7.5; extra == "dev"
Requires-Dist: pytest-cov>=5.0; extra == "dev"
Requires-Dist: mypy>=1.10; extra == "dev"
Requires-Dist: hypothesis>=6.100; extra == "dev"
Requires-Dist: pytest-randomly>=3.15; extra == "dev"
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# Sona

Sona is a programming language runtime and toolchain distributed on PyPI as `sona-lang` and exposed on the command line as `sona`.

The project is focused on a language-first execution model with explicit runtime boundaries, a Python-hosted interpreter, a bundled standard library, and a CLI that can run `.sona` programs directly.

## PyPI Package

- PyPI distribution: `sona-lang`
- Import package: `sona`
- CLI command: `sona`

PyPI support for the corrective `0.12.1` release line is published under `sona-lang==0.12.1`.

## Install

```bash
pip install sona-lang
```

After installation, use either of the following:

```bash
sona --help
python -m sona --help
```

## Quick Example

Create `hello.sona`:

```sona
print("Hello from Sona");

import json;
let payload = {"tool": "sona", "language": "Sona"};
print(json.stringify(payload));
```

Run it:

```bash
sona hello.sona
```

## Release Focus

The `0.12.1` release line is the corrective PyPI publication for the boundary and packaging cut that introduced public distribution of Sona under the `sona-lang` distribution name.

Highlights from that release:

- tightened the public `sona.runtime.memory` surface
- moved advanced host/runtime helpers behind explicit internal modules
- kept the language surface stable while aligning package metadata and release artifacts
- validated installable wheel and sdist output for public distribution

## Documentation

- Quick start: `QUICK_START.md`
- API reference: `API.md`
- Release notes: `docs/release-notes/`
- Contribution guide: `CONTRIBUTING.md`

## License

Sona is released under the MIT License. See `LICENSE` for details.
