Skip to content

complete compiler from scratch written in C (Flex + Bison)

Notifications You must be signed in to change notification settings

FaycalZM/Compiler_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

-- pour générer l'analyseur lexicale :
	- flex lexer.l
	- gcc -o "output_filename" "scanner.c" -lfl
	- ./"output_filename" (to run the analyzer)
	
-- pour générer l'analyseur syntaxique (et lexical) : 
	- bison -d syntax.y
	- flex lexer.l
	- gcc -o output syntax.tab.c scanner.c -lfl -lm 
	- ./"output_filename" "input_filename.txt" (to run the analyzer)

About

complete compiler from scratch written in C (Flex + Bison)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published