-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (55 loc) · 2.27 KB
/
index.html
File metadata and controls
61 lines (55 loc) · 2.27 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Three address code interpreter</title>
<script src = 'scripts/jquery-1.5.2.js' type = 'text/javascript'></script>
<script src = 'scripts/jquery.micromodal-0.1.js' type = 'text/javascript'></script>
<script src = 'scripts/code_editor.js' type = 'text/javascript'></script>
<script src = 'scripts/interp_types.js' type = 'text/javascript'></script>
<script src = 'scripts/parser_tables.js' type = 'text/javascript'></script>
<script src = 'scripts/interp.js' type = 'text/javascript'></script>
<link rel = 'stylesheet' href = 'styles/code_editor.css'>
</head>
<body>
<div id = 'right_panel'>
<div id = 'code_source'>
</div>
<div id = 'source_control' style = 'clear: both'>
<button class = 'source_button' onclick="run_code()">Run</button>
<input type = checkbox id = 'step_mode'/>Step-by-step
<input type = checkbox id = 'dump_mode'/>Dump variables
<button class = 'source_button' disabled = disabled id = 'step_button' onclick = 'executeLine()'>Step</button>
</div>
</div>
<div id = 'left_panel'>
<select size = "10" id ='watch_list'>
</select>
<div id = 'watch_control'>
<button class = 'watch_button micromodal target-addwatch_dialog'>Add</button>
<button class = 'watch_button' onclick="$('#watch_list > :selected').remove();">Delete</button>
</div>
<textarea id = 'log' ></textarea>
</div>
<div style="visibility: hidden" class = 'micromodal target-input_dialog'></div>
<div id = 'dialogs' style = 'clear: both'>
<div id = "addwatch_dialog">
Enter watch:
<input type = "text" id = "watch_name" class = 'modal-focus' />
<br /><br />
<div style = "text-align: right">
<button onclick="$.fn.microModal.dialogs['#addwatch_dialog'].close();">Cancel</button>
<button onclick="add_watch();$.fn.microModal.dialogs['#addwatch_dialog'].close();">OK</button>
</div>
</div>
<div id = "input_dialog">
Enter value for line <span id = 'input_linenubmer'></span>:
<input type = "text" id = "input_value" class = 'modal-focus' />
<br /><br />
<div style = "text-align: right">
<button id = 'input_submit'>OK</button>
</div>
</div>
</div>
</body>
</html>