annotate jsparser.html @ 11:49145e1db3e5

added an interactive tokenization display.
author Atul Varma <varmaa@toolness.com>
date Sat, 30 May 2009 16:38:20 -0700
parents 8de776b8ed31
children 1b7ea033b3f6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
1 <html>
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
2 <head>
11
49145e1db3e5 added an interactive tokenization display.
Atul Varma <varmaa@toolness.com>
parents: 10
diff changeset
3 <link rel="stylesheet" type="text/css" media="all"
49145e1db3e5 added an interactive tokenization display.
Atul Varma <varmaa@toolness.com>
parents: 10
diff changeset
4 href="jsparser.css" />
10
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
5 <title>jsparser demo</title>
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
6 </head>
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
7 <body>
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
8 <p>Input</p>
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
9 <pre class="input">
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
10 5+(1-3) * 4+
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
11 -4
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
12 </pre>
11
49145e1db3e5 added an interactive tokenization display.
Atul Varma <varmaa@toolness.com>
parents: 10
diff changeset
13 <p>Tokenization</p>
49145e1db3e5 added an interactive tokenization display.
Atul Varma <varmaa@toolness.com>
parents: 10
diff changeset
14 <pre class="tokenization"></pre>
49145e1db3e5 added an interactive tokenization display.
Atul Varma <varmaa@toolness.com>
parents: 10
diff changeset
15 <p>Parse Tree</p>
49145e1db3e5 added an interactive tokenization display.
Atul Varma <varmaa@toolness.com>
parents: 10
diff changeset
16 <pre class="parse-tree"></pre>
10
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
17 </body>
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
18 <script src="jquery.js"></script>
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
19 <script src="jsparser.js"></script>
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
20 <script src="parser-demo.js"></script>
8de776b8ed31 made the demo work on the web instead of the command line.
Atul Varma <varmaa@toolness.com>
parents:
diff changeset
21 </html>