Skip to content

nooyooj/flex-bison-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flex-bison-compiler

Compiler construction using Flex and Bison

Setup Instructions

Clone this repository. You will need flex, bison, and gcc installed on your machine.

To change sh script permission:

$ chmod +x build.sh clear.sh

To build:

$ ./build.sh
compiled: compiler, grammar.tab.c, grammar.tab.h, lexer.yy.c

To run:

$ ./compiler FILE_NAME.txt

To clear:

$ ./clear.sh

About

Compiler construction using Flex and Bison

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published