And there is a number of language-specific converters, like 'java-to-javascript' etc. Here's a list .
On domain-specific languages:
http://www.faqs.org/docs/artu/minilanguageschapter.html
http://www.martinfowler.com/articles/languageWorkbench.html
And there is a number of language-specific converters, like 'java-to-javascript' etc. Here's a list .
On domain-specific languages:
http://www.faqs.org/docs/artu/minilanguageschapter.html
http://www.martinfowler.com/articles/languageWorkbench.html
Yacc/bison has already been mentioned, here's another alternative: http://www.antlr.org/
I've seen at least one open-source meta-language recently that wasn't supposed to run standalone, but to be compiled into TCL/TK, javascript and whatnot. Unfortunately I don't remember what it was called, but they do exist. But none of them support all the target languages you want, to the best of my knowledge.