Skip to main content

A compiler which translates a subset of Python to the Aporia language

Project description

Aporia AST

This package compiles a subset of Python to Aporia. The Aporia language is described in this paper.

The Backus-Naur-Form Grammar of the Python source language subset is specified here: L_if bnf

Installation

You can install the package with

pip install aporiapy

Usage

Command Line Interface

You can use the compiler via the command line interface

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. You can install it with pip install uv. The interpreter can be run with uv run aporiapy

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

aporiapy-0.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

aporiapy-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file aporiapy-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for aporiapy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ba441685a069796c4d06dcf7f2c4ea0d4ef58fd6f983d96a7a41f09238b5aac9
MD5 0c2a261deb0e91894057afdd5c197014
BLAKE2b-256 276da49cc859f923f75ef5c1e702d46d9498178bd80b842c65d1e22d03c2e181

See more details on using hashes here.

File details

Details for the file aporiapy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aporiapy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.0

File hashes

Hashes for aporiapy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8bc94846ad9788e511c40ea9673feac38aa1576d06b4525685868786ef00c6ec
MD5 0118e739929a896c24ec43f067e2a104
BLAKE2b-256 f3ec7f5691a2293259e054083ee57354bb59d7fcfe3a4176cd8a8b3816fc8e39

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