r/retrocomputing • u/richpl • Oct 05 '21
An old school BASIC interpreter
A few months ago, I posted details here regarding a project I was working on to produce an old school BASIC interpreter in Python 3. Over the last couple of months or so, other Github users have contributed to the codebase, and have considerably enhanced it. It is now much more compatible with vintage BASIC dialects. We have therefore been able to port some classic 1970s programs, including a text adventure, Star Trek, and the first chatbot Eliza. I'm currently working on porting The Oregon Trail.
The design philosophy is to keep things simple. I haven't tried to compete with monumental projects like PC BASIC. This means that various people have found it easy to incorporate the codebase into their own projects. I believe the code is now Micropython compatible, and several people have used it in microcontrollers to create their own retro-style machines (though some further work will be required to run on very constrained hardware).
You can find the code here:
View all comments
Show parent comment
1
u/droid_mike Oct 06 '21
I grew up on basic and ended up just fine as a programmer... So the millions of other current IT professionals. It wasn't hard to move into structured programming and object-oriented programming once you learned the basics of... well.. BASIC...