Navigation Menu

Skip to content

AustinWise/RegexEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RegexEngine, a regular expression compiler

This program parses regular expressions (just concatenation, Kleene star, and alternation) into an AST, transforms the AST into a NFA with λ-transitions, transforms the NFA into a DFA using powerset construction, and finally transforms the DFA into IL byte code for .NET.

License

RegexEngine is licensed under the BSD license.

Areas for improvement

  • Reduce the number of redundent states in the DFA.
  • Perhaps some optimizations, for example handleing regex'es that end with .* without scanning all the text.

About

Compiles regular expressions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages