-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathre2nfa.html
More file actions
98 lines (76 loc) · 2.83 KB
/
re2nfa.html
File metadata and controls
98 lines (76 loc) · 2.83 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
87
88
89
90
91
92
93
94
95
96
97
98
<html>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<link rel="shortcut icon" type="image/png" href="css/favicon.png"/>
<meta name="theme-color" content="#000000" />
<link rel="stylesheet" href="css/materialize.css">
<link rel="stylesheet" href="css/style.css">
<title>Compiler</title>
</head>
<body onload="brython({debug: 1, indexedDB: false})">
<nav class="blue lighten-1">
<div class="nav-wrapper">
<a href="#" class="brand-logo lg">Welcome to Compiler GUI</a>
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li><a href="index.html">Home</a></li>
<li><a href="automata.html">Automata</a></li>
<li class="active"><a href="re2nfa.html">Re2NFA</a></li>
<li><a href="parser.html">LL(1)</a></li>
<li><a href="parser_SLR.html">SLR</a></li>
</ul>
</div>
</nav>
<div class="container wrap-me">
<div id="content">
<div id="zone0">
<br/><br/>
<input id="prod" type="text" placeholder="Enter the Regular Expression">
<button class="btn waves-effect waves-light blue lighten-1" type="submit" id="getRe" name="action">Submit</button>
</div>
<br/>
</div>
</div>
<div id="ab" class="container">
<h4>Instructions:-</h4>
<hr class="blue lighten-5 line"/>
<p>
<blockquote>
<i><strong>Step1:</strong></i> Comming soon....
</blockquote>
The Github repo is:<br/> <a href="https://github.com/Vishnu44d/compiler_parser_GUI"> https://github.com/Vishnu44d/compiler_parser_GUI</a>
<div class="leave-me"></div>
</p>
</div>
<script type="text/python" id="script0">
from browser import document, alert
from browser import html
from browser.html import TABLE, TR, TH, TD
from parsing_table import driver, find_ter_and_non_ter
def handleSubmit(e):
alert("The work is in progress, will be updated soon")
btn = document["getRe"]
btn.bind("click", handleSubmit)
</script>
<button type="button" class="btn-floating btn-small waves-effect waves-light red lighten-1 rel" onClick="refreshPage()"><img src="css/refresh.svg" width="60%"></button>
<script
src="https://code.jquery.com/jquery-3.3.1.js"
integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous"></script>
<script>
function refreshPage(){
window.location.reload();
}
</script>
<div class="container-foot">
<div class="cont">
© 2019 vishnu deo
</div>
</div>
<script src="js/brython.js"></script>
<script src="js/brython_stdlib.js"></script>
</body>
</html>