Content deleted Content added
m Changing archived geocities links. Errors? User:AnomieBOT/shutoff/ReplaceExternalLinks2 |
m →External links: HTTP to HTTPS for SourceForge |
||
(27 intermediate revisions by 21 users not shown) | |||
Line 1:
{{Short description|Programming language}}
The '''Mouse'''
Mouse was originally intended as a small, efficient language for [[microcomputer]]s with limited memory. It is an interpreted, [[Stack-oriented
The elements of the Mouse language consist of a set of (mostly) one-character symbols, each of which performs a specific function (see table below). Since variable names are limited to one character, there are only 26 possible variables in Mouse (named A-Z). Integers and characters are the only available data types.
Line 17 ⟶ 18:
== Details ==
The language described here is the later version of Mouse, as described in the Mouse book.<ref name="grogono2" />
=== Symbols ===
The following table describes each of the symbols used by Mouse.<ref name="grogono2" />
{| class="wikitable"
Line 26 ⟶ 27:
! Action
|-
|align="center"| <space>
| No action
|-
Line 127 ⟶ 128:
=== Expressions ===
==== Common idioms ====
These expressions appear frequently in Mouse programs.
Line 133 ⟶ 135:
X: ~ store into variable X
X. ~ recall variable X
X. Y: ~
N. 1 + N: ~ increment N by 1
P. Q. P: Q: ~ swap values of P and Q
Line 196 ⟶ 198:
==Notes==
{{Reflist|2}}
==External links==
* [http://users.encs.concordia.ca/~grogono/Mouse/mouse.html The Mouse Programming Language]
* [
* [https://archive.today/20030506120304/http://cth.dtdns.net/mouse/ Friends of the Mouse]
* [http://primepuzzle.com/mouse/mouse.html Mouse, the Language]
* [http://mouse.davidgsimpson.com Mouse: Computer Programming Language] (includes source code for Mouse interpreters)
* [
{{Authority control}}
[[Category:Stack-oriented programming languages]]
|