NAME

Batch Basic - toy programming language with no line numbers and a few quirks

SYNOPSIS

bb2 [ -h | -v | -q | -e code | -l file | program ]

DESCRIPTION

Batch Basic is a structured dialect of the eponymous language, with no line numbers and a few quirks. It's not very useful by itself, and mainly intended to be embedded, or used as a basis for extension / customization. It supports both interactive use and running programs written in advance, and in fact doesn't make any difference between modes of operation internally.

This manual page describes the command line interface.

OPTIONS

Invoked without options, Batch Basic enters an interactive prompt.

-h, --help

Show a list of command line options with brief explanations, then exit.

-v, --version

Show the current version number and exit without doing anything else.

-q, --quiet

Suppress banner and prompt in interactive mode.

-e code, --eval code

Run some code given directly on the command line, then exit.

-l file, --load file

Load the given file and go interactive.

program

Run the given program, then exit.

As of version 2.6b, all options are mutually exclusive.

EXIT STATUS

code 0

The requested action was completed successfully.

code 1

Error in command line arguments.

code 2

Error while running the given program.

AUTHORS

Batch Basic is a No Time To Play project.

LICENSE

This software is free and open source under the Artistic License 2.0

SEE ALSO

Tinycat Basic - a precursor of Batch Basic