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.16

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๐Ÿ”—โ„น