C compiler with embedded metalanguage.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
390 B

@{
(`declaration int a = 5;);
a = (`declaration int a = 5;);
@(`declaration int a = 5;);
};
@a;
@(t = `integer 2)
@(`declaration int abc = @t;);
int main() {
@a;
int b = 0;
@{
@(`declaration int c = 0;);
x = (`declaration int d = 5;);
@x;
if (1) {
if (1) {
x = (`declaration int d = 5;);
@x;
}
}
};
int e = 0;
return 0;
}