Zhouxing-Su / CCompiler

a program that translate source files written by a subset of the C programming language to x86 assembly. [course design, flex, bison]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CCompiler
=========

a program that translate source files written by a subset of the C programming language to x86 assembly.


TO BUILD : run shell script 'build.sh'
TO RUN : run shell script 'run.sh'

FOLDERS:
bin : executable file
doc : documents
src : source files
TestCase : input file and sample output
VisualStudio2012project : support browsing source files in Visual Studio 2012

FILES:
lex.l : Flex source file
yacc.y : Bison source file

lex.yy.cpp : Flex output file , g++ input file
yacc.tab.cpp : Bison output file , g++ input file
yacc.tab.hpp : Bison output file , g++ input file
yacc.output : Bison output file

CCompiler : executable file generated by g++

in.txt : test case for CCompiler
out.txt : output of CCompiler

About

a program that translate source files written by a subset of the C programming language to x86 assembly. [course design, flex, bison]

License:GNU Lesser General Public License v3.0


Languages

Language:C 47.7%Language:Makefile 36.1%Language:Shell 16.2%