Skip to content

jinglundong/Compiler-Construction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Compiler Construction

##Author: Jinglun Dong

##Dependency:

  • Lexer using flex
  • Parser using bison

##How to compile:

  • $flex lexer.l
  • $bison -d parser.y
  • $gcc lex.yy.c parser.tab.c -o parser.out

##How to run:

  • $./parser.out < inputStream
  • OR:
  • $./parser.out inputFile.txt

##Output:

  • stdout for rules and symbo table goes to rule.out and symtable.out
  • stderr for rules and symbo table goes to rule.err and symtable.err

About

Compiler Construction NYU 2012 Fall

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages