spykard / basic-fb-compiler

Basic Flex & Bison Compiler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic Flex & Bison Compiler

A basic compiler implementing a certain set of EBNF rules.

Run using the make file:

bison -y -d golub.y 
flex golub.l
gcc -c y.tab.c lex.yy.c
gcc y.tab.o lex.yy.o -o Parser.exe

./myParser.exe test_file.txt

About

Basic Flex & Bison Compiler.

License:MIT License


Languages

Language:C 93.1%Language:Yacc 4.8%Language:Lex 2.1%