Move procedure for running NFA into FSA module

This commit is contained in:
2024-11-02 15:40:58 +00:00
parent 557ab451a8
commit 018aec5339
3 changed files with 85 additions and 80 deletions

View File

@@ -35,4 +35,6 @@ void fsa_free(const fsa_t *fsa);
int fsa_add_state(fsa_t *fsa);
void fsa_add_rule(fsa_t *fsa, int from, int to, int input);
bool fsa_accepts(const fsa_t *dfa, const char *input, int len);
#endif