Metadata-Version: 2.2
Name: aporia-interpreter
Version: 0.1.7
Summary: An interpreter for the Aporia language
Author-email: Ephraim Siegfried <ephraim.siegfried@hotmail.com>
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: lark>=1.2.2

# Aporia

This package provides the interpreter, parser and the AST objects for the Aporia language.
The Aporia language is described in [this paper](https://www.arxiv.org/abs/2411.05570). 

Example programs of the language can be found [here](./examples). The Backus-Naur-Form Grammar of the language is specified here:
![aporia bnf](bnf_aporia.png)


## Installation

You can install the package with

```bash
pip install aporia-interpreter
```

## Usage

### Command Line Interface

You can use the interpreter via the command line interface

```bash
aporia file_to_be_executed.spp
```
Additional options can be found with `aporia -h`

### Python Library

You can also use the library by importing packages with
```python
import aporia.aporia_ast
import aporia.interpreter
import aporia.parser
```

## 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 aporia`

## Acknowledgements

This project builds upon the work done in the seminar Interpretation and Compilation of Programming Languages at the University of Basel. Thanks to the contributions of Paul Tröger and Gianluca Klimmer, as well as the guidance from the seminar instructors Ali Ajorian and Erick Lavoie.
