-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (54 loc) · 1.34 KB
/
index.html
File metadata and controls
56 lines (54 loc) · 1.34 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
<!DOCTYPE html>
<html>
<head>
<title>Instant symbolic logic cheat sheet</title>
<script src="jquery-1.4.2.js"></script>
<script src="truth.js"></script>
<link rel="stylesheet" href="truth.css" type="text/css" media="screen" />
</head>
<body>
<div id="guide">
<h1>Recognized operators</h1>
<p>In order of decreasing precedence.</p>
<ul>
<li>
<strong>&</strong>
and
</li>
<li>
<strong>|</strong>
or
</li>
<li>
<strong>^</strong>
xor
</li>
<li>
<strong>~</strong>
not
</li>
<li>
<strong>!</strong>
not
</li>
</ul>
</div>
<div id="controls">
<h1>Enter a logic expression</h1>
<form id="theform">
<input type="text" id="expr">
<input type="submit" value="Apply">
</form>
<h1>Truth Table</h1>
<div id="output">
<div id="nothing">Nothing yet.</div>
<div id="combo"></div>
<div id="ast"></div>
<div id="sym"></div>
</div>
</div>
<script>
$(function() { truth.main(); });
</script>
</body>
</html>