Skip to content

radpet/refa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

Refa (Regular expression to finitite state machine) is open source C++ library that converts Regular Expression to Nondeterministic/Deterministic finite state automata and serialize it in JSON format.

How it works?

There are three main modules parser/compiler/nfa.

The parser module transforms the input regex to a form that the compiler can use in order to map the token to nfa instance. The compiler reads the parsed input and produce nfa result. The nfa module uses epsilon transitions in order to implement its union/concat/iterations(kleene star) .

How to contribute?

That’s easy, just open an issue giving more information about your future contribution.

I want to build it from source, how?

Download cmake version 3.7 or higher Run cmake

How can I run the unit tests?

First execute the build from source steps Run make run ./testRunner

Roadmap

About

Regular expression to finitite state machine library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published