Can Haxe be compiled to Coffeescript?

2019-08-18 17:44发布

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条回答
贼婆χ
2楼-- · 2019-08-18 18:10

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.

查看更多
登录 后发表回答