text: #ifndef KOMPILER_DFA_H
  #define KOMPILER_DFA_H
  #include "machine.h"
  typedef int sid_t;
  
  #define EPS_CHAR 0x1
  
  namespace dfa {
      void epsilon_closure(machine m, sid_t s, std::set<sid_t> &res);
  
      void epsilon_closure(machine m, std::set<sid_t> state_set, std::set<sid_t> &res);
  
      void move(machine m, sid_t s, std::set<sid_t> &res, char in);
  
      void move(machine m, std::set<sid_t> state_set, std::set<sid_t> &res, char in);
  
      machine to_dfa(machine &nfa);
  
      machine minimize_dfa(machine &dfa);
  }
  
  #endif
  