Wsbasic is a console-based scripting interpreter used for developing small applications and utilities in Unix/Linux environments
Version: 1.2.7Wsbasic is a console-based scripting interpreter used for developing small applications and utilities in Unix/Linux environments. Object oriented and very maintainable code. Based on Jack Crenshaw's "Let's build a compiler", it can act as a replacement for bash or sh scripting.
Operating System: Linux
It provides basic facilities for computer scripting and includes elements such as variables, functions, arithmetic and logical operators, control statements and external calls. Its keywords and syntax are largely reminiscent of the well-known computer language basic. Since bash syntax can appear complicated or confusing to many users, Wsbasic provides an alternative means to bash for writing console-based scripts, using keywords and a syntax that will be familiar to many.
Wsbasic can be invoked in two ways:
from the command line of a traditional Unix/Linux shell, or via a script that contains the Wsbasic command as the first line in a script (i.e. by means of the Unix/Linux "shebang").
Invocation from the command line is accomplished as follows:
Invocation from a script is accomplished as follows (i.e. from the first line of the script containing the full path to the Wsbasic program):