macOS xterm-256color fish 200 views

David Thomas mentioned PocketPy to me this afternoon - a small Python 3 implementation intended for embedding. So, after work, I decided to try to compile it for RISC OS and see if I could get it working.

There were a few things that I needed to add to the C library for maths functions that hadn’t yet been imported, but it pretty much compiled straight off without hassles. It didn’t link, because it expected threads and sockets, but removing these was trivial and… then we had a working Python interpreter.

This recording shows PocketPy building and running on RISC OS. Only using the “Hello World” program, but that’s enough to prove that it at least works.