Mizzen on the command line
From HalyardWiki
Mizzen is Halyard's object model. It's heavily inspired by Ruby and SmallTalk, and it supports most forms of Ruby metaclass programming.
Download and install mzscheme v372. We haven't yet tried 4.0.
[edit] Released versions
- Download and extract the latest mizzen tarball.
- Rename the resulting directory
mizzen. - Place it in one of your collections paths.
- You can execute
(current-library-collection-paths)in MzScheme or DrScheme to determine what these are.
- You can execute
[edit] Working from Git
Run the following command to check out a copy of the source code. This includes all of Halyard, as Mizzen is currently developed as part of Halyard.
git clone git://imlsrc.dartmouth.edu/halyard
Now setup your PLT collections paths to include the test/Runtime directory of your Halyard checkout:
export PLTCOLLECTS=:/path/to/halyard/test/Runtime
[edit] Testing to make sure it works
Create a file named mizzen-demo.ss:
(module mizzen-demo (lib "mizzen.ss" "mizzen")
(require (lib "mizzen-unit.ss" "mizzen"))
(require (lib "mizzen-unit-test.ss" "mizzen"))
(require (lib "ruby-objects-test.ss" "mizzen"))
;; This will print "OK" if everything works.
(run-tests (append $all-mizzen-unit-tests
$all-ruby-object-tests))
)
On the command line, type:
mzscheme -u mizzen-demo.ss
If it works, it will print OK and exit; otherwise, it will give you an error message, and you should send your error to the mailing list so we can fix it.
Now you're ready to take a look at Halyard object model tutorial and Halyard object model details.

