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.
 
 
 

18 lines
296 B

@{
num = `constant 21;
test = `expression 2 * 10;
nil;
}
int x = @{`expression 2 * @num;};
int main() {
int i = @(`expression 2 * @num);
int y = @test;
int a = @{
num = `constant 21;
test = 2;
`expression 2 * @num;
};
return 0;
}