DEV Community

Voblit McVoblit
Voblit McVoblit

Posted on

py2ez80: The Way To Put Python On The Ti84+CE

This is a tool which I think many will find useful. For a long time, calculators like the Ti84+CE have been stuck with a very limited and painfully slow python interpreter, if one was even provided, as non-python models do exist. But recently, I finished my tool that fixes this problem, by transpiling python to assembly!

While at first glance you may think the term "transpiler" is incorrect for a project like this, I decided to take a shortcut on the route, and effectively made a Python to C transpiler, like cython. Except here, I made it specifically target the CEdev toolchain, and call it to produce a .8xp program in result. Using plain Cython will be tough since it isn't really optimized.

Although it is very advanced, supporting lists, tuples, many data types, and a lot of programming structure types found in python and converting them to C, I do acknowledge the fact that it is still very limited on its I/O capabilities.

The github is here

Top comments (0)