@{import("../src/parsimonyLibrary/boot.mc");}
|
|
|
|
@{
|
|
l = {};
|
|
append(l, `declaration int a = 5;);
|
|
append(l, `declaration int b = 2;);
|
|
l;
|
|
}
|
|
|
|
int main() {
|
|
@{
|
|
l = {};
|
|
a = (`declaration int a = 2;);
|
|
append(l, `declaration int c = 5;);
|
|
b = 5;
|
|
append(l, `declaration int d = 2;);
|
|
append(l, `statement for(int i =0; i < 10; i++) {
|
|
a = 2;
|
|
});
|
|
l;
|
|
};
|
|
}
|