Skip to content

lucasthormann/minimal-c-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

A compiler for "minimal" C

This compiler implementation was developed for CS 4318 @ TxState Uni

Files Required to Build Parser:

  • driver.c
  • cgen.c - generates MIPS assembly
  • cgen.h
  • parser.y
  • scanner.l
  • symtab.c - generates the symbol tables
  • symtab.h
  • tree.c - generates the AST structure
  • tree.h
  • makefile

Target Info

  • MIPSs & the MARs simulator
  • Compiled with GCC on Ubuntu