blob: 55127df395a25165d04daaadf44e26b27a22d241 (
plain)
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
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSTea</title>
</head>
<style>
.grid-container {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
}
.syntax-node {
padding-left: 5px;
margin-left: 20px;
border-left: 2px solid white;
}
.syntax-node:hover {
border-left: 2px solid #ccc;
}
.syntax-err {
color: red;
}
#cst, #source-code {
height: 100vh;
overflow: scroll;
}
pre {
padding: 0px;
margin: 0px
}
</style>
<body>
<noscript>This page contains webassembly and javascript content, please enable javascript in your browser.</noscript>
<script src="./bootstrap.js"></script>
<div class="grid-container">
<div id="source-code"></div>
<div id="cst">
</div>
</div>
<!-- button id="gen-cst">Generate CST</button -->
</body>
</html>
|