1File mosml/examples/README
2
3
4The subdirectories contain various example programs in Standard ML.
5
6Each example can be compiled by going to the subdirectory and
7executing `nmake' from the command line.
8
9
10calc            An calculator for simple arithmetic expressions.
11                Illustrates the use of mosmllex and mosmlyac
12                (adapted from Caml Light).
13
14cgi		Two CGI scripts written in Moscow ML using the Mosmlcgi
15		library, and associated HTML files.
16
17helpsigs        Generation of the signature database
18                Illustrates the organization of a larger program.
19
20lexyacc         Lexer and parser for a small functional language.
21                A larger example of the use of mosmllex and mosmlyac.
22
23manual          The small batch compiler example from the manual.
24                Illustrates the use of Makefiles.
25
26mls             A simple utility for producing a sorted directory listing
27                (like `ls' in Unix and `dir' in DOS).
28                Illustrates the use of the FileSys library.
29
30pretty          Prettyprinting of simple arithmetic expressions.
31                Illustrates the use of installable prettyprinters.
32
33small           Various smaller examples without Makefiles.
34
35weak            An example application of weak pointers.
36