forked from samgozman/YoptaScript
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
47 lines (41 loc) · 1.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Let us yopt you!</title>
<style>
textarea,
#outputField {
font-size: 18px;
font-family: Consolas, Menlo, Monaco, Lucida Console,
Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono,
Courier New, monospace, serif;
width: 50%;
}
strong {
font-size: 22px;
}
#outputField {
height: 200px;
background: #f9f9f9;
}
</style>
</head>
<body>
<h1>Переводчик из JavaScript в YoptaScript</h1>
<hr />
<strong>Js</strong>
<br />
<textarea name="jstoyopta" id="jstoyopta" cols="80" rows="9"></textarea>
<br />
<strong>YoptaScript</strong>
<br />
<textarea name="yopta" id="yopta" cols="80" rows="9"></textarea>
<br />
<strong>Выполнение кода</strong> <br />
<div id="outputField"></div>
<script type="text/x-yoptascript" src="converter.yopta"></script>
<script src="outputEval.js"></script>
<script src="../../dist/yscript.min.js"></script>
</body>
</html>