Skip to content
This repository

Silly little basic-to-ruby compiler

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 examples
Octocat-spinner-32 lib
Octocat-spinner-32 scratchpad
Octocat-spinner-32 test
Octocat-spinner-32 BASIC
Octocat-spinner-32 README
Octocat-spinner-32 TODO
README
Silly basic interpreter in ruby 

 $ ./BASIC

 READY

 > 10 PRINT "THIS IS A BIT SILLY"
 > 20 GOTO 10
 > RUN

Or if you prefer

 $ ./BASIC

 READY

 > LOAD "examples/battle/robotmissile.bas"
 > RUN

examples/battle has programs from Usborne's Computer Battlegames, http://www.computinghistory.org.uk/cgi-bin/sitewise.pl?act=det&p=9739

examples/space programs from Usborne's Computer Spacegames. http://www.computinghistory.org.uk/cgi-bin/sitewise.pl?act=det&p=9740

examples/creepy programs from Usborne's Creepy Computer Games. 

Knock yourselves out.

Requires 'termios' to be installed.

I talked a bit about it at the London Ruby Users Group in Jan 2011. Video here: http://webmail.skillsmatter.com/podcast/nosql/basic-interpreter

Also, you might find the commit tagged STABLE works best.
Something went wrong with that request. Please try again.