#ifndef BACKEND_H #define BACKEND_H BACKEND_H #include #include /* * describes a given state and the transitions coming out of it * I should probbably have done this in the parsing stage */ struct State_And_Transitions { struct AST_State *state; size_t number_of_transitions; struct AST_Transition *transitions[]; }; /*returns an array of state_and_transition structs*/ struct State_And_Transitions** extract_transition_table(struct AST_States *states,struct AST_Transitions *transitions); #endif