228 Ruby BASIC

Description

10 PRINT "Hello Rubyists"
20 END

Inspired by one of the solutions from quiz #223, this week’s quiz is to write a BASIC interpreter.

There are many different versions of BASIC with some subtle differences, so for the purpose of this quiz let’s focus on unstructured Dartmouth BASIC.

Everyone should feel encouraged to post some samples of their favorite BASIC programs for testing.

Have fun!


posted Saturday, January 30, 2010