#pocketpy — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pocketpy, aggregated by home.social.
-
Lua is a popular language used in many programs for user scripts. One notable mention in the Unix world is NeoVim, although it's probably even more popular in the game industry. I recently discovered pocketpy, which aims to do the same but with a Python 3 language subset. In the post I just have published in my blog I show how to use pocketpy with C. Hope it's useful!
Python user scripts in C programs with pocketpy https://rvr.typepad.com/wind/2025/03/python-user-scripts-c-pocketpy.html
-
Adding a WiringPi module to TIC-80's Python interpreter https://rvr.typepad.com/wind/2025/03/adding-wiringpi-module-to-tic-80-python-interpreter.html
This is a project that I worked on last weekend. TIC-80 is one of the most popular open source "fantasy consoles", imaginary retro-console emulators with IDE for code, sprites, maps and music. I show how to extend TIC-80's Python interpreter, pocketpy, to add GPIO access for the Raspberry Pi.
Edit: Just uploaded the code to github.
#gamedev #tic80 #python #pocketpy #retrocomputing #raspberrypi