Skip to content

Manipulation, regular expression and automaton library. Allows conversion of regular expressions into automata and analysis of automata and their orbits.

License

Notifications You must be signed in to change notification settings

Lurgrid/Glushkovizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glushkovizer

Manipulation, regular expression and automaton library. Allows conversion of regular expressions into automata and analysis of automata and their orbits.

Formal definition

The formal definition of data types used by this library is available in French here

Examples

To see an example of a graphics application using this library, go to this repository :

https://github.com/Lurgrid/GlushkovizerApp-GTK4

 

$ 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

Run Dependencies

  • dot 9.0 >= (May work on an earlier version, but has not been tested)

    Click here to install it

License

GPLv3


GitHub @Lurgrid

About

Manipulation, regular expression and automaton library. Allows conversion of regular expressions into automata and analysis of automata and their orbits.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages