|
|
|
|
MOUSE-83
Mouse-83 was described in the book Mouse: A Language for Microcomputers
by Peter Grogono [2]. It includes a number of enhancements over the earlier version
(Mouse-79):
- The assignment operator was changed from ( = ) to a colon ( : ),
and the order of operands was changed. For example, in Mouse-83, X is
assigned a value of 3 using 3 X:.
- In Mouse-83, a program is terminated with a single $ (instead of two).
- A mathematical remainder operator ( \ ), which returns the remainder
of the quotient of the top two numbers on the stack.
- Character I/O. Mouse-83 can input a character from the terminal using the
operator ?' . A character can be printed to the terminal using
the operator !' . An apostrophe operator by itself is used to
indicate a character literal (for example: 'C ).
- Comparison operators ( < > = ) were added to enhance conditional
statements.
- The syntax of macro operators was changed. Within a macro, Mouse-79 referred
to its parameters as %A %B %C, etc. In Mouse-83, macro parameters
are called 1% 2% 3%, etc.
- Mouse-83 includes operators to trace program execution ( { } ).
- Comments in Mouse-83 begin with a tilde ( ~ ) and continue to the end
of the line.
Documentation
Interpreters
The Windows binary file was made from the C version, compiled under Windows XP using the
Borland C++ compiler. It should be run from a DOS window. To run a Mouse program, type
from the command line:
mouse83 <filename>
where <filename> is the file name of the Mouse program. If no file extension
is specified in the file name, an extension of .mou is assumed.
Programs from Mouse: A Language for Microcomputers
The example programs from Peter Grogono's book [2] are all available here. Page numbers
indicate the location of the program in the book.
More Programs
Bibliography
- Grogono, Peter. "Mouse: A Language for Microcomputers",
Byte Magazine, July 1979, pp. 198 ff.
- Grogono, Peter. Mouse: A Language for Microcomputers. Petrocelli Books,
New York, 1983.
Web sites
- Grogono, Peter.
The Mouse Programming Language
- Fuller, Sean.
The Great Mouse Programming Language Revival
- Hunt, Tom. Friends of the Mouse
- Bradley, Lee. Mouse, the Language
- Wikipedia article
Contact Information
I may be contacted at:
|
|