-
Notifications
You must be signed in to change notification settings - Fork 6
/
jsaheui_en.html
44 lines (41 loc) · 1.44 KB
/
jsaheui_en.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Aheui interpreter in JavaScript</title>
<script type="text/javascript">
msg_coordinate = "Coord: ";
msg_character = "Char: ";
msg_input_number = "Type a number. Type !!! to pause the execution.";
msg_input_character = "Type a character or more. Type !!! to pause the execution.";
</script>
<script type="text/javascript" src="jsaheui.js"></script>
</head>
<body>
<h2>Aheui interpreter in JavaScript</h2>
<form action="">
<table>
<tr>
<td valign="top">
<textarea name="aheui" rows="20" cols="80" style="scrollbar=both;"></textarea><br/>
<input type="button" value="init" onclick='javascript:chogi();'>
<input type="button" value="run" onclick='javascript:silhaeng();'>
<input type="button" value="stop" onclick='meomchum = true;'>
<input type="button" value="1 step" onclick='javascript:dan_gye(true);'>
<input type="button" value="clear output" onclick='javascript:document.forms[0].output.value="";'><br/>
<textarea name="output" rows="10" cols="80" style="scrollbar=both;"></textarea>
</td>
<td valign="top">
<input type="checkbox" name="debug" checked="checked" onclick='javascript:debug=document.forms[0].debug.checked;'>Debug<br/>
<textarea name="dumps" rows="31" cols="10" style="scrollbar=none;"></textarea>
</td>
</tr>
</table>
</form>
<script type="text/javascript">
<!--
chogi();
-->
</script>
</body>
</html>