you can't use Python to code Arduino microcontrollers directly, but playing with a toy Python->C transpiler with local type inference as a part of a "learning Arduino" section of a Python course for kids.

I wonder if I could make this not suck enough to actually use...

Follow

@jb55

I remember we did something similar for one of the contests! It actually was a way smoother experience than I have expected.

github.com/Vlad-Shcherbina/icf

@jonn whoa what is this gcc ast thing 👀

how would type inference work here 🤔

here's my code, pretty dumb so far: jb55.com/s/567a44110d947423.tx

@jb55 haha, sorry for confusion, "GHC" and "GCC" come from the problem statement. One is an assembly for programming ghost AIs and the other is a lsip virtual machine for programming Pacman AI.

icfpcontest2014.github.io/spec

Sign in to participate in the conversation
Doma Social

Mastodon server of https://doma.dev.