A basic BASIC interpreter, basically. A modern implementation of the BASIC V2.0
language from the Commodore 64 in Clojure.
It is not a Commodore 64 emulator, so certain operations like POKE
and
PEEK
are not implemented.
Run using lein
$ lein run
Build and run standalone JAR
$ lein uberjar
$ java -jar ./target/uberjar/basically-VERSION-standalone.jar
Or download a jar from the releases page.
Start a REPL
$ basically
READY.
PRINT "HELLO WORLD"
HELLO WORLD
READY.
Run a program
$ basically examples/factorial.bas
10 ! = 3628800
For more examples, see the examples directory.
Copyright © 2018 Steven Oud
Distributed under the MIT license.