A Python interpreter written in Go written as part of the course Abstract Machines (german) at Vienna University of Technology.
Gothon is intended to interpret bytecode (which is generated using CPython ahead of time) and actually run the program. It is limited in this aspect on purpose. The goal of the project (at least for now) is not to build a compiler, but a virtual machine that leverages the compiler built into CPython.
Gothon is able to interpret the most basic instructions generated by CPython. This means arithmetic and function calls.
It would be cool if Gothon would at some point be able to
- understand classes.
- deal with exception handling.
like a production-grade runtime. Contributions to the project are welcome.
The Go Gopher was created by Renée French. The Python Logo is a registered trademark of the Python Software Foundation