项目作者: CynricFeng

项目描述 :
🔧 A Finite Automata Machine Tool.
高级语言: C
项目地址: git://github.com/CynricFeng/fa.git
创建时间: 2019-10-31T00:29:47Z
项目社区:https://github.com/CynricFeng/fa

开源协议:MIT License

下载


FAM - Finite Automata Machine Tool

使用

  1. Usage: ./fa [-pd] <filename> [-sf] [<string>/<filename>]
  2. ./fa [-pd] <filename> [-mwa] [-n] <number>
  3. ./fa -e <filename> [-iv]
  4. ./fa -r <filename> [-o] <filename>
  5. -h Print this help message.
  6. DFA Options:
  7. -p <filename> Input the DFA by the <filename>.dfa file.
  8. -d <filename> Input the DFA by the <filename>.dfa.fine file.
  9. -s <string> Input the string to run the DFA.
  10. -f <filename> Input the string from <filename> to run the DFA.
  11. -m Minimize the DFA and output to the file min-*.dfa.fine.
  12. -w Chage the <filename>.dfa to <filename>.dfa.fine.
  13. -a Output all the possible strings according to the <filename>.
  14. -n <number> The max depth of the DFA, default is 5.
  15. NFA Options:
  16. -e <filename> Input the NFA by the <filename>.nfa file.
  17. -i Convert the NFA to the std NFA and output to the .nfa.fine file.
  18. -v Convert the NFA to the DFA and output to the .dfa.fine file.
  19. -r <filename> Convert the re to the NFA and store in <name>.nfa
  20. -o <name> File name stored.

Todo

  • 完成说明文档
  • 完善图片生成