Metacza 2 This version fixes an error, omitting a file that needs to be installed before the build. Makes it impossible to work with a new installation.
Metacza is a language whose compilers can be exported using the c++++ Meta template language. Using a more concise syntax makes the Meta template language easier to program. Matacza lets you write programs using Boost::mpl and generate C + + header files, or you can use Boost::mpl.
Metacza is a more advanced language than Closures and LAMBDA.
Example:
&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;
Input:metacza
FIB (n) = fib (n-1) + fib (n-2); fib (0) = 0;FIB (1) = 1;
Output:c++
Template<typename n>struct fib {typedef typename plus< TypeName fib< TypeName minus< N, int_<1>: : Type >::type, TypeName fib< TypeName minus< N, int_<2> >::type >::type >::type type; Template<>struct fib< int_<0> > {typedef int_<0> type; Template<>struct fib< int_<1> > {typedef int_<1> type;
Download Address: http://www.theiling.de/downloads/metacza-2-src.tgz