Giter Site home page Giter Site logo

fabuilder's Introduction

ReadMe

FA Finite Automata Builder Written By Daniel Gallegos, CSC 151, CSUS, Spring 2013

I. Overview The FA Finite Automata Builder takes a description of an FA in the form a text file. The file is parsed and a finite automaton is built and displayed. The FA is then run through a NFA - DFA conversion algorithm to create an equivalent DFA, which is then displayed.

II. Class Overview i. Package fa.parser a. FAbuilder.java - ANTLR listener implentation. Walks through the parse tree of the input files, builds initial FA b. ANTLR lexer and parser classes c. FA.g4, ANTLR grammar used to generate parser/lexer/listener classes ii. fa.automata a. Automaton.java - The main class. Contains fields and methods for the FA creation and conversion method. b. State.java - data type for an automatons state. Contains information on transitions from that state. iii. com.mxgraph.view a. JGraphx open source graph visualization tool and associated classes.

III. How to compile From this directory, use command: javac fa/automata/Automaton.java

or run batch file in this directory.

IV. How to run From this directory, use command: java fa.automata.Automaton

or use run batch file in this directory

fabuilder's People

Contributors

archa347 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.