michaelficarra / cscodegen

:recycle: CoffeeScript code generator
BSD 3-Clause "New" or "Revised" License
30 stars 7 forks source link

cscodegen purpose in CoffeeScript rewrite? #1

Closed shamrin closed 12 years ago

shamrin commented 12 years ago

Michael, what's the purpose of cscodegen in CoffeeScriptRedux project? I've noticed there's an option to generate code via cscodegen in command.coffee. Why do you find it useful for CoffeeScriptRedux?

michaelficarra commented 12 years ago

Just as it may be useful to have a concrete syntax representation of the JS AST that is produced by the compiler (through escodegen and the --js option), it also may be useful to have a concrete syntax representation of the CS AST that the parser produces.

shamrin commented 12 years ago

Thank you for helpful answer!