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

22 行
388 B

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