-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (35 loc) · 1.4 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<script type="text/javascript">
window.location.replace("bf.html");
</script>
<title>Jelly Brainfuck Compiler</title>
<link rel="stylesheet" href="main.css" />
<script src="wasm32codegen.max.js" type="text/javascript"></script>
<script src="jelly-bf-compiler.js" type="text/javascript"></script>
<script src="main.js" type="text/javascript"></script>
</head>
<body>
<h2 class="area">Jelly Brainfuck Compiler</h2>
<div class="area">Brainfuck is compiled to WebAssembly and executed <span style="text-decoration:underline;">natively</span> in your browser. Each cell is 8 bytes. Input and output are treated as UTF-8.</div>
<div class="area">
<div>Code here:</div>
<textarea id="codetextbox"></textarea>
</div>
<div class="area">
<div>Input here:</div>
<textarea id="inputtextbox"></textarea>
</div>
<div class="area">
<div>Press this button:</div>
<input id="codebutton" type="button" value="Compile and run" />
</div>
<div class="area">
<div>Output here:</div>
<textarea id="outputtextbox" readonly></textarea>
<input id="clearoutputbutton" type="button" value="Clear output" />
</div>
</body>
</html>