start an example compiler for a subset of C

This commit is contained in:
Quentin Carbonneaux 2015-10-02 15:34:38 -04:00
parent ecaad8119f
commit 30eced928c
5 changed files with 2032 additions and 0 deletions

9
minic/test.minic Normal file
View file

@ -0,0 +1,9 @@
{
int x;
int *p;
x = 0;
p = &x;
while (x < 10)
*p = x + 1;
}