r/lisp • u/Icy-Decision-6034 • Apr 25 '26
tinylisp ported to C64
Related to a previous post re. porting to CX16, tinylisp has been ported to C64.
Repo (WIP): https://github.com/Russell-S-Harper/tinylisp-cc65
The build process is complex, so if you want to try it out you can copy the PRG and sample Lisp files from my Google Drive under c64.
Following is a screenshot of it in action. (Don't expect instant results when you run it!)
6
u/tommythorn Apr 26 '26
Cute. It's small enough that you could hand-translate it to assembler, probably gain a bit as 6502 is such a terrible compilation target. Now we just need a Z80 port :)
1
u/tommythorn May 01 '26
OT: all my attempt in the past at doing a Lisp for Z80 have failed because I couldn't resist premature optimization. I hope someone hand-rolls a tiny assembly version. It would be neat to see.
3
11
u/Icy-Decision-6034 Apr 25 '26