hugo-s29 / automaton-editor

Web-based automaton editor

Home Page:http://167.99.84.84/soutien/automaton-editor/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automaton editor.

This project is a finite automaton editor. You can draw the automaton, make it deterministic (i.e. transform it from an NFA to a DFA), reduce the number of states, etc.

This project is based on the Konva rendering library (with Typescript). A PEG.JS parser is used to parse regular expressions.

Detailed documentation is available (in French) on the website.

How to run this project.

Run the following commands to compile the project.

npm install
npm run build

# or

yarn
yarn build

How to recompile the parser.

After the dependencies were installed, run the following command to recompile the parser.

npm run compile-parser

# or

yarn compile-parser

Motivation for this project.

This project was part of the tutoring work I do at Clemenceau High School (Nantes, France). It was made as a tool for students to learn about automatons and the operations that can be applied to them.

About

Web-based automaton editor

http://167.99.84.84/soutien/automaton-editor/

License:MIT License


Languages

Language:TypeScript 68.0%Language:JavaScript 15.2%Language:HTML 10.6%Language:CSS 5.3%Language:PEG.js 0.7%Language:Python 0.2%