Skip to content

techbelly/BASIC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 'ruby-termios' to be installed.

I talked a bit about it at the London Ruby Users Group in Jan 2011. Video here: https://skillsmatter.com/skillscasts/1879-basic-interpreter

About

Silly little basic-to-ruby compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •