Metadata-Version: 2.2
Name: aporiapy
Version: 0.1.0
Summary: A compiler which translates a subset of Python to the Aporia language
Author-email: Ephraim Siegfried <ephraim.siegfried@hotmail.com>
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: aporia-interpreter>=0.1.2

# Aporia AST

This package compiles a subset of Python to [Aporia](https://github.com/EphraimSiegfried/aporia). The Aporia language is described in [this paper](https://www.arxiv.org/abs/2411.05570).

The Backus-Naur-Form Grammar of the Python source language subset is specified here:
![L_if bnf](lif_bnf.png)


## Installation

You can install the package with

```bash
pip install aporiapy
```

## Usage

### Command Line Interface

You can use the compiler via the command line interface

```bash
aporiapy file_to_be_executed.py
```
This will generate an spp file containing the Aporia source code. Additional options can be found with `aporiapy -h`


## Contributing

Dependency management and the publishing of packages is managed by [uv](https://github.com/astral-sh/uv).
You can install it with `pip install uv`. The interpreter can be run with `uv run aporiapy`
