-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·48 lines (48 loc) · 1.64 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
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>语法分析</title>
<script type="text/javascript" src="js/analysis.table.js"></script>
<script type="text/javascript" src="js/save.js"></script>
<script type="text/javascript" src="js/json.js"></script>
<script type="text/javascript" src="js/analysis.lex.js"></script>
<script type="text/javascript" src="js/var.js"></script>
<script type="text/javascript" src="js/encode.js"></script>
<link rel="stylesheet" href="css/main.css" type="text/css">
</head>
<body>
<div class="wrapper">
<div class="header">
<input type="button" value="产生项目集范族" onclick="getValue();">
<input type="button" value="创建分析表" onclick="my_dis();">
<input type="button" value='清空左边输入' onclick="clear_in();">
<input type="button" value='清空右边输出' onclick="clear_out();">
<input type="button" value="保存结果" onclick="save();">
<input type="button" value="LR分析" onclick="dealCode();">
<span style="font-size:12px;">(请在下面输入框中输入需要分析的串)</span>
<input type="button" value="测试" onclick="storeVar();">
</div>
<div class="content">
<div class="left">
<textarea id="input"></textarea>
</div>
<div class="right">
<div id="display">
</div>
</div>
</div>
<div style="width:30px;">
<input type="button" value="文法转码" onclick="encode();">
</div>
<div id="show"></div>
</div>
<div id="err">
<span id="close" title="关闭">X</span>
<div id="err_"></div>
</div>
<div id="footer">
Copyright@2013 by<a href="http://www.cnblogs.com/Poised-flw" target="_blank"> Poised_flw</a>
</div>
</body>
</html>