Visualize a word against a finite-state automaton
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Clément FRÉVILLE 947b539b1d
continuous-integration/drone/push Build is passing Details
Add a clear button
1 year ago
src Add a clear button 1 year ago
.drone.yml Initial commit 1 year ago
.gitignore Initial commit 1 year ago
README.md Initial commit 1 year ago
dprint.json Initial commit 1 year ago
index.html Add a clear button 1 year ago
package.json Initial commit 1 year ago
tsconfig.json Initial commit 1 year ago
vite.config.ts Initial commit 1 year ago

README.md

finite-state-automaton

Use

No build-tool

While this project is written with the Node.Js tooling (Vite+MermaidJS), a simple transformation can be done to make it work in a browser.

sed -i "s|from 'mermaid'|from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs'|" src/fsm.js

Build-tool

Run your favorite package manager (npm, yarn, pnpm, bun, etc.) to install the dependencies and build the Vite application:

npm install
npm run dev # Run the Vite development server
npm run build # Build the application in the dist/ directory