Skip to content

Toy project for a deterministic finite automaton interpreter written in rust

License

Notifications You must be signed in to change notification settings

jolitti/automatoy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

automatoy

Toy project for a deterministic finite automaton interpreter written in rust

Usage: cargo run <dfa file> <string> -v/--verbose Where <dfa file> is the location of a file that describes a DFA (see folder samples for the syntax) and <string> is the desired string you wish to test

-v/--verbose: enable verbose mode (print each state reached during execution)

Returns 0 for a string that matches, 1 for a non-matching string, and 2 for a badly-defined DFA or for a string that contains characters not defined for the automaton

About

Toy project for a deterministic finite automaton interpreter written in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages