Initial commit

This commit is contained in:
2023-12-21 21:42:10 +01:00
commit f80161ee22
11 changed files with 358 additions and 0 deletions

22
index.html Normal file
View File

@@ -0,0 +1,22 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Finite-state automaton</title>
<meta name="description" content="Test a word against a finite-state automaton" />
<link rel="stylesheet" href="src/style.css" />
</head>
<body>
<div id="app">
<input type="text" id="word-input" />
<div class="input">
<div id="input-buttons"></div>
<div id="light"></div>
</div>
<pre id="pen"></pre>
<pre id="state-graph"></pre>
</div>
<script type="module" src="src/fsm.js"></script>
</body>
</html>