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.
 
 
 

15 lines
345 B

@{
saved = `initializer (1,2,"string",21<<1);
cons = `constant 2;
two = `integer 2;
@@.append(`declaration char *test = "foo";);
@@;
}
@(print("6 outputs : \n"))
@{a = `constant 10;}
char t = @(`constant '@a');
int i = @cons;
int q = @(`constant 10);
int k = @(`initializer (1,2,"stringy thingy",21<<1));
int i = @saved;
int w = @a;