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