-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (78 loc) · 2.08 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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>💅 Logically — Propositional Logic Tool</title>
</head>
<body>
<header>
<h1>💅 Logically — Propositional Logic Tool</h1>
</header>
<main id="app">
<nav>
<aside data-variables>
<h2>Variables</h2>
<table>
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<!-- Rows will be added dynamically -->
</tbody>
</table>
</aside>
<footer>
<h2>Operators</h2>
<ul>
<li><b>~</b> Negation (NOT)</li>
<li><b>v</b> Disjunction (OR)</li>
<li><b>&</b> Conjunction (AND)</li>
<li><b>-></b> Implication (IF)</li>
<li><b><-></b> Equivalence (EQUALS)</li>
<li><b>( )</b> Parentheses</li>
</ul>
</footer>
<footer>
<h2>About</h2>
<p>
Your ally in the world of propositional logic.
</p>
<p>
Compile, evaluate, annotate and generate truth tables for propositional logic formulas.
</p>
<p>
See <a href="https://github.com/mkaski/logically">GitHub</a> for source code.
</p>
</footer>
</nav>
<article>
<form onsubmit="return false">
<h2>Formula</h2>
<article>
<textarea name="formula" placeholder="For example... ~(p v q) <-> r"></textarea>
<output for="syntax">Type to compile...</output>
</article>
</form>
<aside data-truth>
<h2>Truth Table</h2>
<table>
<thead>
<tr>
<!-- Column headers will be added dynamically -->
</tr>
</thead>
<tbody>
<!-- Rows will be added dynamically -->
</tbody>
</table>
</aside>
</article>
</main>
<script type="module" src="/src/main.ts"></script>
</body>
</html>