Skip to main content

A TI-BASIC interpreter written in Python

Project description

pitybas

A working TI-BASIC interpreter, written in Python.

Installation

pip install pitybas

Usage

Use pb -i vt100 to run programs which need a working home screen.

If you run pb with no filename, it launches an interactive shell.

Usage: pb [options] filename

Options:
    -h, --help        show this help message and exit
    -a, --ast         parse, print ast, and quit
    -d, --dump        dump variables in stacktrace
    -s, --stacktrace  always stacktrace
    -v, --verbose     verbose output
    -i IO, --io=IO    select an IO system: simple (default), vt100
    -x, --strict      raise ERR:UNDEFINED instead of silently defaulting unset variables to 0

You can also run it as a module without installing the console script:

python -m pitybas -i vt100

Known Limitations

  • Graph screen functions are not supported. Commands that draw to the TI-83/84 graph screen (e.g. Circle, Line, DrawF) are not implemented. Programs that use them will fail or produce no output.

Development

Clone the repository and install it in editable mode with the test extras:

pip install -e .[test]
pytest

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

pitybas-0.4.0.tar.gz (38.3 kB view details)

Uploaded Source

Built Distribution

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

pitybas-0.4.0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file pitybas-0.4.0.tar.gz.

File metadata

  • Download URL: pitybas-0.4.0.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pitybas-0.4.0.tar.gz
Algorithm Hash digest
SHA256 36f5c22d9934be30b688720d75bac56b1631507955c1c7c3f4ea86ba0a42f8c1
MD5 f9306a009f0171034cc6ae47cebfc969
BLAKE2b-256 0ad2ee7e599a761544fdb33552346029ee887fb3d7898597ca3e198be81c03c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pitybas-0.4.0.tar.gz:

Publisher: publish.yml on tsroten/pitybas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pitybas-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: pitybas-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 26.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pitybas-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7bc3552fc5d2c7f9a9906e17e72b475b7b760b26de060fdc277357419b98f491
MD5 e4b6afebc8d3ecacd9470ec270032352
BLAKE2b-256 3b5c043af2c6a8b1e2db0409a947f4aded4579b574c03f199a53523f352ce761

See more details on using hashes here.

Provenance

The following attestation bundles were made for pitybas-0.4.0-py3-none-any.whl:

Publisher: publish.yml on tsroten/pitybas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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