Typed metaprogramming languages

Posted by Jacques Carette on Stack Overflow See other posts from Stack Overflow or by Jacques Carette
Published on 2010-06-14T13:39:13Z Indexed on 2010/06/14 13:42 UTC
Read the original article Hit count: 200

I want to do some metaprogramming in a statically typed language, where both my programs and my meta-programs will be typed. I mean this in a strong sense: if my program generator compiles, I want the type system to be strong enough that only type-correct programs can be generated.

As far as I know, only metaocaml can do this. (No, neither Template Haskell nor C++ templates fit the bill -- see this paper).

© Stack Overflow or respective owner

Related posts about metaprogramming

Related posts about static-typing