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.6.tar.gz (181.0 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.6-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aporia_interpreter-0.1.6.tar.gz
Algorithm Hash digest
SHA256 a1cdb8996533053183ae863eaacc097c21276e24496d38091d9b14b93e2600d4
MD5 e73ebe9e5c2d6472a250ba660895a734
BLAKE2b-256 65390af40ad49e2c855b42b09a33a93bc8d9caf59fdf5fa389733a88a8b926d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aporia_interpreter-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 51ad435d662e9ce984084692e56dbada0a47145c95b086142b0812effe7df42d
MD5 e0e0d82a6d2575328fe5bc614c9a5317
BLAKE2b-256 3114d99c69c8a098efb67ba4afa40c9ce9746f1c19d03a1acd1ca338e86efafd

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