| 1 |
What's in Here |
| 2 |
-------------- |
| 3 |
|
| 4 |
This directory contains a simple tool for generating generic map, fold, |
| 5 |
or app functions on datatypes. |
| 6 |
|
| 7 |
How to build the tool |
| 8 |
--------------------- |
| 9 |
|
| 10 |
To build to tool, start SML version 110.30 or later. Then type: |
| 11 |
|
| 12 |
use "build.sml" |
| 13 |
|
| 14 |
This will create an image named rwgen.<architecture> in this directory. |
| 15 |
|
| 16 |
How to run the tool |
| 17 |
------------------- |
| 18 |
|
| 19 |
To run the tool, type |
| 20 |
|
| 21 |
sml @SMLload=rwgen filename >outfilename |
| 22 |
|
| 23 |
More Info? |
| 24 |
---------- |
| 25 |
|
| 26 |
For more info, see the note rewrite-gen.tex in the directory ../Doc |
| 27 |
and the sample file wff.gsml, wff.sig, and wff.sml (translator output). |