Skip to content

hugo-s29/automaton-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.