Skip to main content

An interpreter for the Aporia language

Project description

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.

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

aporia_interpreter-0.1.11.tar.gz (182.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aporia_interpreter-0.1.11-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file aporia_interpreter-0.1.11.tar.gz.

File metadata

  • Download URL: aporia_interpreter-0.1.11.tar.gz
  • Upload date:
  • Size: 182.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.0

File hashes

Hashes for aporia_interpreter-0.1.11.tar.gz
Algorithm Hash digest
SHA256 f766b56c18ef42cd6c429a29542e59db4a163dae06ccc3cddd2ea2b30a7d2c2a
MD5 c32263969b2fa2c03ed66a3528d69e5c
BLAKE2b-256 f77d042e535f1e58890790e06fc9c10db5ae9e4c431579c7f83eb871be03e2a5

See more details on using hashes here.

File details

Details for the file aporia_interpreter-0.1.11-py3-none-any.whl.

File metadata

File hashes

Hashes for aporia_interpreter-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 e1ed65fffd8a18eade620e43f32c2f7472bc6a4290ecaff009adecd3c1bda8f1
MD5 5638dbdca24b8baa7a61089141d5ecd0
BLAKE2b-256 28464b298a4db072004110a11837dffc9c3f8f8107390a9ccdf7b4038e8296f7

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