Crates.io | automata |
lib.rs | automata |
version | 0.0.4 |
source | src |
created_at | 2015-03-14 07:11:05.708316 |
updated_at | 2019-03-17 23:27:55.880192 |
description | An implementation of standard finite state automata such as DFA, NFA, Regex |
homepage | |
repository | https://github.com/HeroicKatora/automata |
max_upload_size | |
id | 1574 |
size | 65,242 |
A rust library to model several different automata and algorithms. In its current form includes the following automata:
cargo run --bin test
Contained is an exporter to the popular dot
format. A separate test binary
also showcases construction and use of the exporter for example automata of each
family and try to immediately show the images. This is handled by invoking
dot
–for conversion to png
– and feh
–for rendering the images–so make sure
those are installed for the best effect.
This crate has recently changed ownership from gsingh93 and are now maintained following a university course. Supplementary material on theoretical questions might appear as part of the documentation.
cargo test
All units are tested, a bit stricter than their interface requirements, by automated unit tests. This includes automata construction, language recognition, word rejection, and the exporter.
There are more features planned and/or in development
dfa
, nfa
, regex
) are equivalent