@{import("../src/parsimonyLibrary/boot.mc");}
|
|
|
|
@{
|
|
l = {};
|
|
append(l, `declaration int a = 5;);
|
|
a = (`declaration int a = 5;);
|
|
append(l, `declaration int a = 5;);
|
|
l;
|
|
};
|
|
|
|
@a;
|
|
@{
|
|
t = `constant 2;
|
|
nil;
|
|
}
|
|
@(`declaration int abc = @t;);
|
|
|
|
int main() {
|
|
@a;
|
|
int b = 0;
|
|
@{
|
|
l = {};
|
|
append(l, `declaration int c = 0;);
|
|
x = (`declaration int d = 5;);
|
|
append(l, x);
|
|
if (1) {
|
|
if (1) {
|
|
x = (`declaration int d = 5;);
|
|
append(l, x);
|
|
}
|
|
}
|
|
l;
|
|
};
|
|
int e = 0;
|
|
return 0;
|
|
}
|