C compiler with embedded metalanguage.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
258 B

@{import("parsimonyLibrary/boot.mc");}
@{
l = {};
append(l, `declaration int a = 0;);
a = (`declaration int b = 0;);
append(l, a);
if (1) {
append(l, `declaration int c = 0;);
} else {
append(l, `declaration int c = 1;);
}
l;
};
@a;