view testscripttags.html @ 19:132c7756860e

Use populateSymbols to generate symbol tables during compilation rather than populating them as we go. This change allows us to refer to symbols defined later in the input stream and also gives the symbol table logic a single home that can be used both by the compiler and editor.
author Mike Pavone <pavone@retrodev.com>
date Sun, 25 Mar 2012 16:11:19 -0700
parents 02b20292f187
children
line wrap: on
line source

<!DOCTYPE html>
<html>
<head>
	<title>Parser Test</title>
	<script src="peg.js"></script>
	<script src="mquery.js"></script>
	<script src="parser.js"></script>
	<script src="compiler.js"></script>
	<script src="jsbackend.js"></script>
	<script src="scripttags.js"></script>
	<script src="samples/fib.tp" type="text/tabletprog"></script>
	<script type="text/tabletprog">
		#{
			console <- foreign: #{
				log <- foreign: :val {}
			}
			main <- {
				console log: "foobar"
			}
		}
	</script>
</head>
<body>
	Testing 1 2 3
</body>
</html>