Select Git revision
index.html 990 B
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Expression Simplifier</title>
<script defer="true" src="libraries/jquery/jquery.min.js"></script>
<script defer="true" type="module" src="js/index.js"></script>
</head>
<body>
<div>
Boolean variables: <code>x</code> and <code>y</code>
</div>
<div>
<label>Expression to simplify:
<input id="unsimplified" type="text" autocomplete="off" value="">
</label>
</div>
<div>
<label>Maximum number of operators:
<input id="operators" type="number" autocomplete="off" min="0" value="1" max="4">
</label>
</div>
<div>
<label>Simplified:
<code><output id="simplified"></output></code>
</label>
</div>
<hr>
<div>
Examples:
<ul>
<li><code>(x && y) !== (x || y)</code></li>
<li><code>(!x && !y) || (x && !y) || (x && y)</code></li>
</ul>
</div>
</body>
</html>