Skip to content

wmvndrscht/C-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Compiler

ANSI C89 to MIPS Assembly compiler and C to Python translator.

I implemented a subset of the C89 spec including the core functionality:

  • local variables
  • integer arithmetic
  • while, if, else conditions
  • for loops
  • function calls
  • multidimensional arrays

Written in C++, using Flex for the Lexer and Bison for the Parser.

This was a really fun solo project to get to understand compilers better.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published