How to set up Mocha


You need to execute these commands from a Linux machine. A fast linux machine that can be used for this class is Lauhau, but you can use any machine of your choice, provided it mounts the general departmental filesystems. Follow these instructions:

Examples of Reactive Modules

Here are the examples cited in the manual, as well as additional examples. Note: look for files with extension .rm: those are the reactive modules files. The other files are the product of using mocha on those files, or accessory scripts. Oh, and don't complain that your browser believes those are music files! Mocha predates such frivolous things :-)

Note: The version of Mocha I put here is slightly different from the one you can find on the main Mocha webpage http://www-cad.eecs.berkeley.edu/~mocha For Homework 1, either version is fine. For later assignments, you need to use the version set up here.


Luca de Alfaro
luca@soe.ucsc.edu