Skip to content

ygsharma/mini-c-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains an implementation of compiler in C++ for a small subeset of C language.

Subset of C Language:

  • Data Types: int, float
  • Variable Declaration: int a; float b;
  • Assignments: a = 5;
  • Arithmetic Expressions: +, -, *, /
  • Control Flow:
    • if(condition) { ... } else { ... }
    • while (condition) { ...}
  • Print Statement: print()

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors