-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (53 loc) · 1.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cappucino</title>
</head>
<body>
<textarea id="in" style="width: 45%; height: 50%;" height="640">
let i=0
repeat
print("hello cappuccino")
i+=1
until i==10 and i > 3
let j = 10
while j > 0 do
j -= 1;
print(j)
end
if i==0 then
print("wow")
end
if (not i == 3) and (i == 5) then
print("impossible")
end
function hello()
print("hello!")
end
if i==1 then
print("one")
elseif i==2 then
print("two")
else
print("three")
end
class wow from parent constructed(x,y,z)
print("I am constructed")
contains
function hello()
print("hi")
end
world={
Hello:"Json"
}
end</textarea>
<textarea id="out" style="width: 45%; height: 50%;" height="640">
Javascript will go here
</textarea>
<button id="compile">COMPILE!</button>
<script src="dist/main.js"></script>
<script src="page.js"></script>
</body>
</html>