Comment
Comment by gamegoblin
Are there any common languages that allow you to do compile time metaprogramming in the language itself? I'd like to write little miniprograms which output source code and get evaluated at compile time. For example:
and then at compile time that would get run and the source could generated would be: