Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Latest commit

 

History

History
33 lines (25 loc) · 906 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 906 Bytes

#BNF FIRST and FOLLOW Sets

Author: Michael Curry

Date: 2013.02.03

##Description This project implements lexical analyzer on a given language then finds the first and follow sets of a given BNF grammar basted on the given language.

##Compilation & Execution Instructions

####Compile

  • Execute 'make.sh' in the root directory of the project.

####Execute

  • Execute 'run.sh' in the root directory of the project with an input file as an argument.

##Documentation

####Usage: run.sh <input file path>

####Output:

  • Output files are saved in the 'output' directory.
  • The naming convention for this files is: <input file basename>.out

##Directory Structure

root    Project root directory
	|___bin		Contains compiles project files
	|___input  	Contains example input files
	|___output 	Contains generated output files
	|___src		Contains project source files