blob: 07ca54acf29153e1c00eaf7f9df74370989441a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<!doctype html>
<html>
<head>
<script src="../lib/doml.js"></script>
<script>
Doml.runOnLoad();
</script>
<link rel="stylesheet" href="../lib/style.css">
</head>
<body>
<span class="statement-sequence">
<span class="assign" data-name="greet">
<span class="function" data-args="name">
<span class="print">
<span class="constant" data-val="Hello," data-type="string"></span>
<span class="variable" data-name="name"></span>
</span>
</span>
</span>
<span class="input" data-prompt="What is your name?" data-name="personToGreet" data-type="string"></span>
<span class="call" data-name="greet">
<span class="variable" data-name="personToGreet"></span>
</span>
</span>
</body>
</html>
|