unknown-language

What programming language is this?

I recently stumbled over a very odd source listing on a rather old programming-related site (lost it somewhere in my browser history as I didn't care about it at first). I think that this is part of a simple (console-based?) snake game. I searched and searched but didn't find a language that looked similar. It seems like a mix of Pytho...

What HTML template language uses <$ command $> and <$= value_to_insert $> ?

I'm trying to determine what the original language is of a place that includes snippets like: <div class="responselist"> <$ for ( var i = 0; i < responses.length; i++) { $> <div class="response"> <div class="response-body" id="response-<$=responses[i].ResponseID $>"><$= responses[i].Body $></div> </div> ...