Chimera code

Chimera code is code that can be interpreted in more than one language. I’ve mostly found it useful when I want to have a file interpreted in one language, but for some reason that is not always easy to do. An example of this is JavaScript in a web-browser; you cannot just load it, you need an HTML file to load your script. In this case, would it not be nice if you could create your script such that it is a valid HTML file that loads itself as well as a valid JavaScript? I’ve created just that and created a wiki page for it here. I’ll add more examples when I create them.

Leave a Comment

*

*