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

**URL:** https://community.haxe.org/t/has-anyone-tried-to-embed-interpretor-to-haxe-just-like-lua-javascript-quickjs-v8-haxe-target-hashlink/4236
**Category:** Haxe
**Created:** [May 10, 2024, 8:22am UTC](https://community.haxe.org/t/has-anyone-tried-to-embed-interpretor-to-haxe-just-like-lua-javascript-quickjs-v8-haxe-target-hashlink/4236 "2024-05-10T08:22:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![fy0](https://community.haxe.org/user_avatar/community.haxe.org/fy0/32/2347_2.png) [@fy0](https://community.haxe.org/u/fy0)
#### Post date: [May 10, 2024, 8:22am UTC](https://community.haxe.org/t/has-anyone-tried-to-embed-interpretor-to-haxe-just-like-lua-javascript-quickjs-v8-haxe-target-hashlink/4236/1 "2024-05-10T08:22:36Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![neimanpinchas](https://community.haxe.org/user_avatar/community.haxe.org/neimanpinchas/32/2348_2.png) [@neimanpinchas](https://community.haxe.org/u/neimanpinchas)
#### Post date: [May 10, 2024, 9:53am UTC](https://community.haxe.org/t/has-anyone-tried-to-embed-interpretor-to-haxe-just-like-lua-javascript-quickjs-v8-haxe-target-hashlink/4236/2 "2024-05-10T09:53:16Z")

</div>

what about pure haxe such as [https://lib.haxe.org/p/hscript/2.5.0](https://lib.haxe.org/p/hscript/2.5.0) or [https://lib.haxe.org/p/SScript/](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)

---

<div class="post-metadata">

### Author: ![fy0](https://community.haxe.org/user_avatar/community.haxe.org/fy0/32/2347_2.png) [@fy0](https://community.haxe.org/u/fy0)
#### Post date: [May 10, 2024, 11:29am UTC](https://community.haxe.org/t/has-anyone-tried-to-embed-interpretor-to-haxe-just-like-lua-javascript-quickjs-v8-haxe-target-hashlink/4236/3 "2024-05-10T11:29:23Z")

</div>

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.
