Can Haxe be compiled to Coffeescript?

谁说我不能喝 提交于 2019-12-12 04:43:21

问题


I'm wondering whether it's possible to compile Haxe to Coffeescript - are there any tools that are available for this? I find Coffeescript's syntax to be much more concise than that of Javascript, so I'd like to find a Coffeescript target for Haxe (if it exists.)


回答1:


Haxe already has a Javascript target, and there is already a Javascript-to-Coffeescript that is available ( http://js2coffee.org/ ), so it should be possible, as long as js2coffee does not make any errors in compiling Javascript to Coffeescript.



来源:https://stackoverflow.com/questions/13505519/can-haxe-be-compiled-to-coffeescript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!