Has anyone tried to embed interpretor to haxe (just like lua, javascript(quickjs, v8))? haxe target: hashlink

It might sound unusual, but it’s a common requirement in game development to embed a script interpretor.
Are there any existing works or helper libraries that I can reference?

what about pure haxe such as https://lib.haxe.org/p/hscript/2.5.0 or https://lib.haxe.org/p/SScript/

I’ve actually crated for my own finances a spreadsheet program with hscript, you can extend the Interp class and than you could hiject any varable lookup, than you can dynamicly return whaever you want (other cells in my case)

1 Like

Thanks, it’s helpfull.
Haxe is fine for me, but other deveoplers in team and mod authors may want to use a language that they are familar with.