Completing a new BASIC interpreter in 2025 (strings, math funcs, cassette)
nanochess.org·23h·
Discuss: Hacker News

The printed source code of my UFO game. The paper roll is really old.

This is a follow-up to my previous article Developing a BASIC language in 2025, where I describe how I got inspired to start coding a new BASIC interpreter for the 1983 Mattel ECS add-on for Intellivision.

Although my interpreter was already pretty fast and with enough statements to build games, I wasn’t satisfied because it still missed one thing that the ECS BASIC implements: strings. Only two, A$ and B$, with GET and PUT, for things like getting a name from the keyboard or showing a name.

I thought about strings for four days, then I decided to code things like I know what I was doing. I added a string stack pointer *bas_strp…

Similar Posts

Loading similar posts...