Skip to main content

Aporia

This package provides the interpreter, parser and the AST objects for the Aporia language. The Aporia language is described in this paper.

Example programs of the language can be found here. The Backus-Naur-Form Grammar of the language is specified here: aporia bnf

Installation

You can install the package with

pip install aporia-interpreter

Usage

Command Line Interface

You can use the interpreter via the command line interface

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

import aporia.aporia_ast
import aporia.interpreter
import aporia.parser

Contributing

Dependency management and the publishing of packages is managed by 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.

Metadata

Release files for aporia-interpreter 0.1.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aporia-interpreter 0.1.13
File Size Uploaded
aporia_interpreter-0.1.13.tar.gz 182.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aporia-interpreter 0.1.13
File Interpreter ABI Platform
aporia_interpreter-0.1.13-py3-none-any.whl Python 3 none any Details

Total release size: 192.1 kB

Release files / aporia_interpreter-0.1.13.tar.gz

Download URL aporia_interpreter-0.1.13.tar.gz
Size 182.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5b8105b96ae238eb4f78cf13770a3f85454ff25c5803afc2efa1661856abb621
BLAKE2b-256 checksum
How to use checksums
5fa0a74511c285ceff0630a3185c1a64c5547a98c630112fbc6fba3d670d09d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.6

Release files / aporia_interpreter-0.1.13-py3-none-any.whl

Download URL aporia_interpreter-0.1.13-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
466ab40accedafd74c1d80eb3a296440f1991e4729216d90bb5f5cbca4b32312
BLAKE2b-256 checksum
How to use checksums
97d50130c2021768ed661fe0703a6ebe78354139a755c682a805a78e30096d1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.6

Release history Release notifications | RSS feed

This release

0.1.13 This release

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page