view testscripttags.html @ 331:61f5b794d939

Breaking change: method call syntax now always uses the syntactic receiver as the actual receiver. This makes its behavior different from function call syntax, but solves some problems with methods being shadowed by local variables and the like.
author Michael Pavone <pavone@retrodev.com>
date Sat, 28 Mar 2015 14:21:04 -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>