Crates.io | glushkovizer |
lib.rs | glushkovizer |
version | 0.22.0 |
source | src |
created_at | 2024-06-17 10:54:20.410837 |
updated_at | 2024-06-17 10:54:20.410837 |
description | Manipulation, regular expression and automaton library. Allows conversion of regular expressions into automata and analysis of automata and their orbits |
homepage | |
repository | https://github.com/Lurgrid/Glushkovizer |
max_upload_size | |
id | 1274339 |
size | 594,083 |
Manipulation, regular expression and automaton library. Allows conversion of regular expressions into automata and analysis of automata and their orbits.
The formal definition of data types used by this library is available in French here
To see an example of a graphics application using this library, go to this repository :
$ cargo run --example simple_json
CLI version (example) :
$ cargo build --example cli --release
$ ./target/release/examples/cli
Please enter a regular expression - Press Ctrl + D to quit
(a+b).a*.b*.(a+b)*
Concat(Concat(Concat(Or(Symbol('a'), Symbol('b')), Repeat(Symbol('a'))), Repeat(Symbol('b'))), Repeat(Or(Symbol('a'), Symbol('b'))))
Enter a filename to save the automata - Press Ctrl + D to not save
toto
Saved !
Please enter a regular expression - Press Ctrl + D to quit
dot 9.0 >=
(May work on an earlier version, but has not been tested)
Click here to install it
GPLv3
GitHub @Lurgrid