-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·66 lines (65 loc) · 2.24 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
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="styles/normalize.css" rel="stylesheet" type="text/css" />
<link href="styles/styles.css" rel="stylesheet" type="text/css" />
<title>Brainfuck</title>
<script src="js/bfint.js"></script>
<script src="js/bfc.js"></script>
<script src="js/bfvm.js"></script>
</head>
<body>
<div id="container">
<div class="mainColumn">
<div>
<label> Input:
<textarea id="input" wrap="soft">
</textarea>
</label>
</div>
<div class="buttonsBar">
<button type="button" id="compileButton"> Compile </button>
<button type="button" id="runButton"> Run </button>
</div>
<div>
<label> Output:
<textarea id="output" wrap="soft">
</textarea>
</label>
</div>
</div>
<div class="optionsColumn">
<fieldset>
<legend>Параметры компиляции</legend>
<input type="checkbox" id="optimize" checked="checked" />
Оптимизировать
</fieldset>
<fieldset>
<legend>Во что компилировать</legend>
<div>
<input type="radio" name="compileTo" id="bfil" checked="checked" />
BFIL</div>
<div>
<input type="radio" name="compileTo" id="js" />
JS</div>
</fieldset>
<fieldset>
<legend>Чем выполнить</legend>
<div>
<input type="radio" name="run" id="bfvm" checked="checked" />
Виртуальной машиной</div>
<div>
<input type="radio" name="run" id="nativeJS" />
Native JS</div>
<div>
<input type="radio" name="run" id="interpreter" />
Интерпретатором</div>
</fieldset>
</div>
</div>
<!--<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>-->
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.6.2.min.js"><\/script>')</script>
<script src="js/behaviour.js" type="text/javascript"> </script>
</body>
</html>