-
Notifications
You must be signed in to change notification settings - Fork 19
/
index.html
183 lines (182 loc) · 8.17 KB
/
index.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="Whitelips: Online Esoteric Programming Language IDE and Optimizing Compiler" content="Whitelips is an IDE for esoteric programming languages. It is based on the Whitespace programing language but can be extended to interpret and compile other languages such as Brainfuck. Whitelips features an interpreter and an optimizing compiler for Whitespace." />
<style type="text/css">
@import "css/ws_ide.css";
@import "css/ws_debug.css";
</style>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="interceptTabs.js"></script>
<script type="text/javascript" src="ws_util.js"></script>
<script type="text/javascript" src="ws_fs.js"></script>
<script type="text/javascript" src="ws_ide.js"></script>
<script type="text/javascript" src="ws_core.js"></script>
<script type="text/javascript" src="ws_asm.js"></script>
<script type="text/javascript" src="ws_opt.js"></script>
<title>Whitelips the Esoteric Language IDE</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
</div>
<div id="panels">
<div id="panelLeft"
class="panel">
<div id="panelLeftLabel"
class="label">
<span>Files</span>
</div>
<div class="buttonBar">
<span class="btn"><a href="javascript:void(0);"
onclick="return ws_ide.newFile();">[New]</a></span>
<span class="btn localStorageButton"><a href="javascript:void(0);"
onclick="return ws_ide.deleteFile();">[Delete]</a></span>
<span class="btn localStorageButton"><a href="javascript:void(0);"
onclick="return ws_ide.saveFile();">[Save]</a></span>
</div>
<div class="content">
<div id="fileList">
</div>
</div>
</div>
<div id="panelMiddle"
class="panel">
<div id="panelMiddleLabel"
class="label">
<span>noname.ws</span>
</div>
<div class="content">
<div id="buttonDiv">
<span class="btn" id="btnRun"><a href="javascript:void(0);" onclick="ws_ide.runProgram();">[Run ]</a></span>
<span class="btn" id="btnStop" style="display:none"><a href="javascript:void(0);" onclick="ws_ide.stopProgram();">[Stop]</a></span>
<span class="btn" id="btnCompile"><a href="javascript:void(0);" onclick="ws_ide.compileAsm();">[Compile]</a></span>
<span class="btn" id="btnOptimize"><a href="javascript:void(0);" onclick="ws_ide.optimizeProgram();">[Optimize]</a></span>
<span class="btn" id="btnEnableHighlight" style="display:none"><a href="javascript:void(0);" onclick="ws_ide.setHighlight(true);">[ ]Highlight</a></span>
<span class="btn" id="btnDisableHighlight" style="display: none;"><a href="javascript:void(0);" onclick="ws_ide.setHighlight(false);">[X]Highlight</a></span>
<span class="btn" id="btnDownload"><a href="javascript:void(0);" onclick="ws_ide.downloadFile();">[Download]</a></span>
<div style="display:inline-block;">
<span class="btn" id="btnHelp"><a href="javascript:void(0);" onclick="ws_ide.displayHelp();">[ HELP ]</a></span>
</div>
</div>
<div id="scrollableSource" class="scrollable">
<div id="inputContainer"
class="inputContainer">
<textarea id="srcInput"
class="inputArea inputBox">
You really need to enable javascript or sth!
</textarea>
<div id="srcOverlay"
class="inputArea inputOverlay"></div>
</div>
</div>
<div id="srcHiddenDiv"
class="inputArea"
style="display: none;"></div>
<div id="errorDiv"> </div>
<div id="animDiv"> </div>
<div class="outputTabs">
<div class="tabLabels">
<div id="tabLabelPrint" class="btn">
<a href="#printTab"
onclick="return ws_ide.switchTab(this);">Input/Output</a>
</div>
<div id="tabLabelConsole" class="btn">
<a href="#consoleTab"
onclick="return ws_ide.switchTab(this);">Console</a>
</div>
<div class="btn">
<a href="#memoryTab"
onclick="return ws_ide.switchTab(this);">Memory</a>
</div>
<div class="btn">
<a href="#aboutTab"
onclick="return ws_ide.switchTab(this);">About</a>
</div>
</div>
<div class="allTabs">
<div id="printTab"
class="tabContent">
<div class="buttonBar">
<span class="btn"><a href="javascript:void(0);"
onclick="return ws_ide.clearPrintArea('#printArea');">[Clear]</a></span>
<span class="btn"><a href="javascript:void(0);"
onclick="return ws_ide.handleUserInput('#userInput', null);">[EOF]</a></span>
</div>
<div class="outputArea"
onclick="ws_ide.focusUserInput('#printArea')">
<div id="printArea"
class="outputText" tabindex="0"></div>
</div>
</div>
<div id="consoleTab"
class="tabContent">
<div class="buttonBar">
<span class="btn"><a href="javascript:void(0);"
onclick="return ws_ide.clearPrintArea('#consoleArea');">[Clear]</a></span>
</div>
<div id="consoleArea"
class="outputArea consoleText"></div>
</div>
<div id="memoryTab"
class="tabContent">
<div class="buttonBar">
</div>
<div id="memoryArea" class="outputArea">
<div>
<span>Stack: </span>
<span id="stackSpan"></span>
</div>
<div>
<span>Heap: </span>
<span id="heapSpan"></span>
</div>
</div>
</div>
<div id="aboutTab"
class="tabContent">
<div class="buttonBar">
</div>
<div id="aboutArea"
class="outputArea"></div>
</div>
</div>
</div>
</div>
</div>
<div id="panelRight"
class="panel">
<div id="panelRightLabel"
class="label">
<span>Debug</span>
</div>
<div class="buttonBar">
<span class="btn" id="btnDebugRunProgram"><a href="javascript:void(0);" onclick="ws_ide.runProgram(true);">[Run]</a></span>
<span class="btn" id="btnDebugStepProgram"><a href="javascript:void(0);" onclick="ws_ide.stepProgram();">[Step]</a></span>
<span class="btn" id="btnDebugStopProgram"><a href="javascript:void(0);" onclick="ws_ide.stopProgram();">[Stop]</a></span>
</div>
<div class="content">
<div id="disasm">
</div>
</div>
</div>
</div>
<div style="display: none" id="fog" class="modalFog" onClick="ws_ide.hideModal();"></div>
<div id="modal">
<div id="splashScreenModal" class="modalContent" onClick="ws_ide.hideModal();">
<div class="nameVersion">
Whitelips IDE
for esoteric languages
ver 0.13.1</div>
<div>
Source: <a href="https://github.com/vii5ard/whitespace" target="_blank" >https://github.com/vii5ard/whitespace</a>
</div>
</div>
<div id="helpModal" class="modalContent">
<div class="buttonBar">
<span class="btn"><a href="javascript:void(0);" onClick="ws_ide.hideModal();">[Close]</a></span>
<span class="btn"><a href="help.html" target="_blank" onClick="ws_ide.hideModal();">[Open in new window]</a></span>
</div>
<div id="helpModalContent"></div>
</div>
</body>
</html>