Haxe可以编译成Coffeescript吗? [英] Can Haxe be compiled to Coffeescript?
问题描述
我想知道是否可以编译Haxe到Coffeescript - 有没有可用的工具?我发现Coffeescript的语法比Javascript更简洁,所以我想为Haxe找到一个Coffeescript目标(如果存在)。
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.)
推荐答案
Haxe 已经有Javascript目标,而且已经有一个Javascript- to-Coffeescript( http://js2coffee.org/ ),因此应该可以,只要js2coffee在将JavaScript编译到Coffeescript时不会出现任何错误。
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.
这篇关于Haxe可以编译成Coffeescript吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!