-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
86 lines (77 loc) · 2.65 KB
/
index.html
File metadata and controls
86 lines (77 loc) · 2.65 KB
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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Yet Another Functional Programming Interpreter</title>
<script src="https://cdn.jsdelivr.net/npm/jquery"></script>
<script src="https://cdn.jsdelivr.net/gh/jcubic/static/js/wcwidth.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery.terminal/js/jquery.terminal.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery.terminal/js/xml_formatting.js"></script>
<script src="https://cdn.jsdelivr.net/npm/js-polyfills/keyboard.js"></script>
<script src="https://cdn.jsdelivr.net/npm/isomorphic-lolcat/index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/figlet/lib/figlet.js"></script>
<link href="https://cdn.jsdelivr.net/npm/jquery.terminal/css/jquery.terminal.min.css" rel="stylesheet" />
<style>
:root {
--color: #aaa;
--background: #000;
--size: 1.2;
--font: monospace;
/* --glow: 1 */
--animation: terminal-blink;
}
.command {
cursor: pointer;
}
@media screen and (min-width: 1200px) {
:root {
--size: 1.4;
}
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: var(--bg-color);
margin: 0;
display: flex;
flex-direction: column;
height: 100vh;
}
header {
background-color: white;
padding: 15px 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
display: flex;
justify-content: space-between;
align-items: center;
}
.config-area {
display: flex;
gap: 10px;
}
input[type="password"] {
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
width: 250px;
}
</style>
</head>
<body>
<header>
<strong>Programming Powered By LLM Models</strong>
<div class="config-area">
<input type="password" id="apiKey" placeholder="Input Your LLM API Key Here..." />
</div>
</header>
<script src="llm.js"></script>
<script src="utils.js"></script>
<script src="scope.js"></script>
<script src="memo.js"></script>
<script src="lex.js"></script>
<script src="parse.js"></script>
<script src="eval.js"></script>
<script src="terminal.js"></script>
<script src="testsuite.js"></script>
</body>
</html>