We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After you add the parser stuff, you can add support for + and ?, with something like this :
def zero_one(state): #? start = new_state(False) end = new_state(True) add_epsilon(start, end) add_epsilon(start, state.start) add_epsilon(state.end, end) state.end.is_end = False return AttrDict({ 'start': start, 'end': end }) def oneORmore(nfa): #+ once = AttrDict(nfa) #copy or deepcopy once.end.is_end = False return concat(once, closure(nfa))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
After you add the parser stuff, you can add support for + and ?, with something like this :
The text was updated successfully, but these errors were encountered: