start an example compiler for a subset of C
This commit is contained in:
parent
ecaad8119f
commit
30eced928c
5 changed files with 2032 additions and 0 deletions
9
minic/test.minic
Normal file
9
minic/test.minic
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
int x;
|
||||
int *p;
|
||||
|
||||
x = 0;
|
||||
p = &x;
|
||||
while (x < 10)
|
||||
*p = x + 1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue