Are there any languages targeting JavaScript (like CoffeeScript) and written in Python? I found Pyjamas , but it’s GWT of Python as I see. I want a language that doesn’t need heavy runtime library and is able to be compiled to JavaScript. I found Mascara also, and it very satisfies my requirements except it’s license. CoffeeScript is ideal for me except it’s written in CoffeeScript itself. I have to compile [CoffeeScript-like language] source codes into JavaScript statically in Python application.
Source: Tips4all
You might want to have a look at pyjaco (python to javascript compiler).
ReplyDeleteOne part of Pyjamas is pyjs, which is decribed this way in the project overview:
ReplyDeletepyjs translates Python code to Javascript by walking the Python abstract syntax tree and generating Javascript.
Sounds like it should fit the bill: no need to use the other parts of pyjamas you don't need.