Tiny  BASIC
1 Writing Tiny  BASIC Programs
2 Tiny  BASIC Language
2.1 Control Flow
2.2 Statements
3 Running Tiny  BASIC
4 Running the examples
5 Project Information
8.12

TinyBASIC🔗ℹ

Winston (winny) Weinert

 (require tinybasic) package: tinybasic-lib

1 Writing TinyBASIC Programs🔗ℹ

Refer to The TINY BASIC User Manual on ittybittycomputers.com’s website.

2 TinyBASIC Language🔗ℹ

2.1 Control Flow🔗ℹ

2.2 Statements🔗ℹ

3 Running TinyBASIC🔗ℹ

If you put

#lang tinybasic

at the top of a source file, you should be able to run your TinyBASIC program via

racket yourprogram.rkt

.

Alternately, you may run either

tinybasic

or

racket -l tinybasic --

to open up an interactive monitor (REPL). See

tinybasic --help

or

racket -l tinybasic -- --help

for more information.

4 Running the examples🔗ℹ

Try one of the following commands:

Get help with running an example like so:

racket -l tinybasic/examples/guess-number -- --help

. You need the

--

to tell

racket

the flag is for the loaded module, not for the top level racket executable.

5 Project Information🔗ℹ