Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (39 sloc) 1.51 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Evaluator</title>
<script type="text/javascript" src="/javascripts/prototype.js"></script>
<script type="text/javascript" src="functional.js"></script>
<script type="text/javascript" src="evaluator.js"></script>
<link rel="stylesheet" type="text/css" href="evaluator.css"/>
<style type="text/css">
#evaluator .input-column,
#evaluator .output-column {border:none; padding:none}
</style>
</head>
<body>
<div id="evaluator">
<div class="input-column">
<pre class="transcript"></pre>
<textarea class="current" rows="1" cols="40">map('1+', [2, 3])</textarea><br/>
</div>
<div class="eval-column">
<button class="eval-button">&rarr;&nbsp;</button>
</div>
<div class="output-column">
<pre class="transcript"></pre>
<pre class="current" style="margin:0"> </pre><br/>
</div>
<div style="clear:left"> </div>
<div class="transcript-controls">
History:
<input class="toggle" type="checkbox"/>show
<input class="clear" type="button" value="clear"/>
</div>
</div>
<script type="text/javascript">
Functional.install();
Event.observe(window, 'load', function(){new Evaluator('#evaluator', {transcript:false})});
</script>
</body>
</html>