Commit c057b532 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2003-05-08 22:21:24 by cvscast] Empty log message

Original author: cvscast
Date: 2003-05-08 22:24:08+00:00
parent bde1796f
......@@ -55,7 +55,7 @@ package]
- pxp (development version 1.1.93)
(http://www.ocaml-programming.de/programming/pxp.html)
./configure && make all && make opt && make install
./configure --withwlex && make all && make opt && make install
- wlex
......@@ -65,4 +65,8 @@ package]
OCAMLLEX_SRC = <source directory>
then
make wlex && make runtime && make install
\ No newline at end of file
make wlex && make wlex_install && make runtime && \
make runtime.opt && make install_runtime
it is important to do make runtime.opt otherwise
the web interface does not compile.
\ No newline at end of file
......@@ -10,6 +10,7 @@ type Man = <man name=String>[ Sons Daughters ];;
type Woman = <woman name=String>[ Sons Daughters ];;
type Sons = <sons>[ Man* ];;
type Daughters = <daughters>[ Woman* ];;
let fun sort (MPerson -> Man ; FPerson -> Woman)
<person gender=g>[ <name>n <children>[(mc::MPerson | fc::FPerson)*]; _] ->
let tag = match g with "F" -> `woman | "M" -> `man in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment