Skip to content
miedzinskiPublic

About

Regex parser & NFA visualizer

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

regex

Regular expressions parser written with nom.

Graphviz compiler

example NFA constructed from regex

There is additional tool for constructing equivalent NFA in DOT language based on algorithm shown in Dragon Book.
The output can be piped to Graphviz, which in turn can output other formats, such as PNG.

Run with

cargo run --bin dot <<< '[0-9.[:lower:]]?|fo+(bar)?'

License

GNU GPLv3.

About

Regex parser & NFA visualizer

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages