TickC is a variant of ANSI C that is extended with a datatype -- cspec -- that allows a variable to hold, modify and compile C language expressions.
http://www.pdos.lcs.mit.edu/tickc/
See CeeLanguage