Skip to content
Jeremy Green edited this page Jan 12, 2017 · 12 revisions

Welcome to the uBasic wiki!

The aim of this port of uBasic is simply for fun and to be able to run the BASIC programs featured in the creative computing magazine and in the books written by David Ahl. I had tried using other basic versions and concluded that most were aiming for features rather than compatibility.

I have been looking at compilers and interpreter for some time using LET'S BUILD A COMPILER! by Jack W. Crenshaw. I managed to get to the end of the series and have a functioning but limited interpreter, and something that produced assembly written in c#. The interpreter got used as the basis for expression / logic evaluation in a number of other projects.

It was at this point I got stuck with how to deal with line numbers and so had a look around to see how everyone else handled line number (they didn't and then the whole GOTOmageddon erupts), until I found uBasic by Adam Dunkels.

I then got side-tracked on which version of BASIC we are referring to and began an interesting investigation how we arrived at Microsoft basic the version I used from 1979, running on a Compukit UK101. I have referenced the basics as follows:-

Clone this wiki locally