Code Monkey home page Code Monkey logo

t1-fa's Introduction

FAM - Finite Automata Machine Tool

使用

Usage: ./fa [-pd] <filename> [-sf] [<string>/<filename>] 
       ./fa [-pd] <filename> [-mwa] [-n] <number>
       ./fa  -e <filename> [-iv]
       ./fa  -r <filename> [-o] <filename>

-h                  Print this help message.

DFA Options:
-p      <filename>  Input the DFA by the <filename>.dfa file.
-d      <filename>  Input the DFA by the <filename>.dfa.fine file.

-s      <string>    Input the string to run the DFA.
-f      <filename>  Input the string from <filename> to run the DFA.

-m                  Minimize the DFA and output to the file min-*.dfa.fine. 
-w                  Chage the <filename>.dfa to <filename>.dfa.fine.

-a                  Output all the possible strings according to the <filename>.
-n      <number>    The max depth of the DFA, default is 5.

NFA Options:
-e      <filename>  Input the NFA by the <filename>.nfa file.
-i                  Convert the NFA to the std NFA and output to the .nfa.fine file.
-v                  Convert the NFA to the DFA and output to the .dfa.fine file.
-r      <filename>  Convert the re to the NFA and store in <name>.nfa
-o      <name>      File name stored.

Todo

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

t1-fa's People

Contributors

fengyangyang98 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.