view index.html @ 242:0e7982adc76b

Make the successful return value from a match expression be truthy and the failure value false. This avoids an extra method call when checking the result and avoids allocating a new object when a match fails.
author Mike Pavone <>
date Sun, 05 Jan 2014 20:56:25 -0800
parents 2b25d0ce2946
line wrap: on
line source
<!DOCTYPE html>
	<script src="/mquery.js"></script>
	<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="/editor.js"></script>
	<script src="/scripttags.js"></script>
	<script src="/src/" type="text/tabletprog"></script>
	<link rel="stylesheet" href="/editor.css">
	<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport'>

	<div id="browser">
		<input type="button" value="Go Fullscreen" id="fullscreen">
	<div id="editor">
		<div class="controls">
			<ul id="inscope"></ul>
		</div><div id="src"></div><div class="controls showops">
			<ul id="operators">
			<ul id="literals">
				<li>new symbol</li>
				<li id="ops_button">operators</li>
				<li id="lit_button">literals</li>
			<ul id="nav">
				<li id="out">outwards</li><li id="in">inwards</li>
				<li id="prev">previous</li><li id="next">next</li>