Giter VIP home page Giter VIP logo

rex's Introduction

William Dye, TJ Harrison, Taylor Holden, Matt Hooper, and Ryan McCaffrey
CS 3240 Project 1
11/17/2012


To compile and execute the program, run `make` in the project's top-level directory. It is
necessary to provide two arguments to make, one called SPEC_FILE and the other called
INPUT_FILE. Using the test cases we have provided, the program may be invoked with a
command such as `make SPEC_FILE=test/WilliamsSpec.txt INPUT_FILE=test/input/WilliamsInput.txt`.
Run `make doc` to generate HTML Javadoc pages in a subdirectory called "doc". Run `make
all` to generate the Javadocs and run the program (SPEC_FILE and INPUT_FILE must be
provided as described above). To delete Javadoc files and Java bytecode (.class) files,
run `make clean`.


The code is entirely contained within one package, namely edu.gatech.cs3240.project1. The
ScannerDriver class contains the entry point for the program, which makes use of the other
classes in the package. The RecursiveDescentParser interface is used to create a list of
NFAs corresponding to all identifiers in the specification. That list is combined into a 
single NFA, which is then converted to a DFA using the static convert() method of the
NFAToDFAConverter class. Finally, for each input file, a TableWalker is instantiated to
scan the file and return the tokens contained therein.

rex's People

Contributors

will2dye4 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.