Skip to content

miedzinski/regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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.

Releases

No releases published

Packages

No packages published

Languages