Skip to content

soudy/basically

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basically Build Status

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.

Installation

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.

Usage

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.

License

Copyright © 2018 Steven Oud

Distributed under the MIT license.

About

A basic BASIC interpreter, basically.

Resources

License

Stars

Watchers

Forks

Packages

No packages published