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

[r2004-12-28 01:49:04 by afrisch] Demo

Original author: afrisch
Date: 2004-12-28 01:49:04+00:00
parent 37dd3b15
......@@ -2,6 +2,12 @@
<page name="demo">
<title>CDuce demo</title>
<box title="Compilation of pattern matching" link="pm_compil">
<p>This example demonstrates the efficient compilation of pattern
matching.</p>
<demo><include-verbatim file="examples/pm_compil.cd"/></demo>
</box>
<box title="Integers" link="ints">
<p>
Let's begin with integers, arithmetic, and, obviously, the
......
......@@ -269,7 +269,7 @@ let demo(no : Int)(txt : String) : H:Flow =
(button "Clear" ("clearres('"@n@"');"))
] ]
<tr>[
<td>[ <textarea id=(n@"req") cols="60" rows="25">txt ]
<td valign="top">[ <textarea id=(n@"req") cols="60" rows="25">txt ]
<td valign="top">[ <div id=(n@"res")>[] ] ] ] ]
(* Main transformation function *)
......
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