Thursday, May 10, 2012

CoffeeScript-like language written in Python


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

2 comments:

  1. You might want to have a look at pyjaco (python to javascript compiler).

    ReplyDelete
  2. One part of Pyjamas is pyjs, which is decribed this way in the project overview:


    pyjs 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.

    ReplyDelete