cppctc
C++ Compile Time Compiler template meta-programming techniques
cppctc is a c++ compile time compiler. It demonstrates the use of various c++ template meta-programming techniques to generate arbitrary assembler instructions. Such techniques can be used to re-target c++ compilers to generate machine code for any architecture. For example, Visual C++ can produce machine code for micro-controllers using similar techniques.