Metadata-Version: 2.2
Name: ti-python
Version: 0.1.0
Summary: A versatile compiler to make TI-BASIC programs with Python 3 syntax
Author: simplyrohan
License: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/simplyrohan/ti-python
Project-URL: Repository, https://github.com/simplyrohan/ti-python
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE

# TI-Python
A versatile compiler to make TI-BASIC programs from Python 3 (with some restrictions)

## Usage
**CLI**
```
python -m ti_python --help
```
```
python -m ti_python examples/helloworld.py
```

**Python**
```py
from ti_python import compile
code = "print('Hello World!')"
print(compile(code))
```

See `examples/` for example programs

## Features
 - `print` and `input`
 - Integer and string variables (with multi-character names)
 - Basic arithmetic
 - Basic If statements
 - Comparisons
 - While loops
 - String operations

## Goals/To Do
 - Lists
 - Functions
 - Graphical output
 - More advanced comparisons and operations (exponents, roots, `and`, `or`)

Non-compiler related
 - 8XP encoding

## Restrictions
Your Python code still has to follow some restrictions due to the nature of the TI-BASIC.
 - Using `print` with commas will not insert spaces in-between 
 - The `input` function doesn't always return Strings, they can be numbers

These are known restrictions, but this compiler is still in development so of course you will still have *many* other issues

## Resources and References Used
[TI-BASIC usage](http://tibasicdev.wikidot.com/starter-kit)
