Skip to content
Snippets Groups Projects
Commit ce660561 authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

Algo: Glushkov algorithms for FormalRegExp

parent 88db56e7
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -77,8 +77,8 @@ automaton::NFA < > ToAutomatonGlushkov::convert ( const regexp::UnboundedRegExp ...@@ -77,8 +77,8 @@ automaton::NFA < > ToAutomatonGlushkov::convert ( const regexp::UnboundedRegExp
return automaton; return automaton;
} }
   
automaton::NFA < > ToAutomatonGlushkov::convert ( const regexp::FormalRegExp < > & /* regexp */ ) { automaton::NFA < > ToAutomatonGlushkov::convert ( const regexp::FormalRegExp < > & regexp ) {
throw exception::CommonException ( "Glushkov: Converting FormalRegExp NYI" ); // TODO return ToAutomatonGlushkov::convert ( regexp::UnboundedRegExp < > ( regexp ) );
} }
   
auto ToAutomatonGlushkovUnboundedRegExp = registration::AbstractRegister < ToAutomatonGlushkov, automaton::NFA < >, const regexp::UnboundedRegExp < > & > ( ToAutomatonGlushkov::convert ); auto ToAutomatonGlushkovUnboundedRegExp = registration::AbstractRegister < ToAutomatonGlushkov, automaton::NFA < >, const regexp::UnboundedRegExp < > & > ( ToAutomatonGlushkov::convert );
......
...@@ -82,8 +82,8 @@ grammar::RightRG < > ToGrammarRightRGGlushkov::convert ( const regexp::Unbounded ...@@ -82,8 +82,8 @@ grammar::RightRG < > ToGrammarRightRGGlushkov::convert ( const regexp::Unbounded
return grammar; return grammar;
} }
   
grammar::RightRG < > ToGrammarRightRGGlushkov::convert ( const regexp::FormalRegExp < > & /* regexp */ ) { grammar::RightRG < > ToGrammarRightRGGlushkov::convert ( const regexp::FormalRegExp < > & regexp ) {
throw exception::CommonException ( "Glushkov: Converting FormalRegExp NYI" ); // TODO return ToGrammarRightRGGlushkov::convert ( regexp::UnboundedRegExp < > ( regexp ) );
} }
   
auto ToGrammarRightRGGlushkovUnboundedRegExp = registration::AbstractRegister < ToGrammarRightRGGlushkov, grammar::RightRG < >, const regexp::UnboundedRegExp < > & > ( ToGrammarRightRGGlushkov::convert ); auto ToGrammarRightRGGlushkovUnboundedRegExp = registration::AbstractRegister < ToGrammarRightRGGlushkov, grammar::RightRG < >, const regexp::UnboundedRegExp < > & > ( ToGrammarRightRGGlushkov::convert );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment