Writing a C compiler in 500 lines of Python
(vgel.me)
from abobla@lemm.ee to programming@programming.dev on 13 Sep 2023 12:52
https://lemm.ee/post/7769102
from abobla@lemm.ee to programming@programming.dev on 13 Sep 2023 12:52
https://lemm.ee/post/7769102
threaded - newest
Can it compile CPython?
It’s missing a bunch of features so I’m pretty sure it can’t do stock CPython, it could probably do a customised version though.
I once wrote 500 lines of python to transpose some numbers into another format. It was glorious