P1 2011-1: MaSH

MaSH was developed here for this course. Find all of the MaSH documentation and downloads at the MaSH home page.

 

Documentation highlights

Environments

Environment Purpose
console This environment supports programming for a console program that reads from standard input and writes to standard output.
nxt This environment supports programming a Lego Mindstorms NXT robot, via the Lejos NXJ system.
graphics This environment supports drawing in a window. It also supports console input and output.
files This environment supports programming for a console program that reads from standard input and writes to standard output, as per environment console, but also adds the capability to read and write files on disk.

Language syntax summaries

Language level Description
statements This document defines the MaSH programming language at its statements level. The statements level omits all control structures. It permits focus on declaring and using variables and constants, and using the APIs provided by MaSH environments.
control This document defines the MaSH programming language at its control level. The control level adds control structures, such as loops and selections. This document only describes what is different or new with respect to the statements level.
methods This document defines the MaSH programming language at its methods level. The methods level encapsulates statements in methods (procedures and functions). This document only describes what is different or new with respect to the statements and control levels.
arrays This document defines the MaSH programming language at its arrays level. The arrays level adds the array data type. This document only describes what is different or new with respect to the lower MaSH levels.

 

Installation

We're building some instructions for Installing MaSH on your own computer on the School Wiki.

You have to be already logged into Learning@Griffith for the above links to work.

The links won't work (even if you are logged into Learning@Griffith) if you are not a member of the organisation School of ICT Forum. You are automatically enrolled in this organisation if you are doing an ICT degree (such as IT or Multimedia). If you are doing a degree based in another school or centre, you can self enroll.

Last modified Sun Feb 6 20:11:18 EST 2011 by the P1 team.