C compiler with embedded metalanguage.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

36 行
528 B

@{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;
}