使用node.js和Haxe,有没有办法编写一个函数,从Haxe文件生成node.js模块,然后返回生成的模块?我开始使用Haxe编写node.js模块,我需要一种更容易导入模块的方法。function requireHaxe(variableToRequire, haxeFileLocation){
//generate a JavaScript module from the Haxe
在"Try Haxe“()站点中,默认的示例测试代码如下: static function main(){ new js.JQuery("body").html("Haxe is great :)"); trace("Haxe is great :)"); }在该页面上运行它是非常直截了当的(可以选择“选项
为此,我检查了Haxe,但没有得到我需要的结果。为最终用户生成相当差的IDE体验: @SuppressWarnings(value={"rawtypes", "unchecked"}) public HelloWorld(haxe.lang.EmptyObject empty) }
public HelloWorld__hx_c