开发者

Erlang Scripting Language Interpreter

Does anyone know of an implementation of a scripting language interpreter (something appropriate fo开发者_StackOverflowr a game) in Erlang? Something like Javascript or Lua would be great.


You may try C/C++ port driver for running lua (or other) language interpreter, erlua is more likely what you need (it works via port driver, i guess).


Erlang itself can be used as a scripting language. See escript at Erlang docs.


I second Vijay's suggestion to use Erlang itself. However, I'll also point out the existence of Reia, which seems to be precisely what you ask for.

EDIT: Right, so there's erlyjs, a JavaScript compiler targetting the Erlang virtual machine. I've no idea whatsoever if what stage of development this project is at, how well it's progressing etc., but you could check it out. Not sure if it requires ahead-of-time compilation of JS code, you'd need to see for yourself...

Here you'll find one of several github forks of the code base. All in Erlang, as far as I can see.

Once again, this is not a mature product. But then, with the rise of CouchDB, something like this might actually be useful in some significant ways... so it might hopefully actually become mature somewhat soonish.


This question comes up in google search - but the comments do not answer the original request. The answer the original poster was seeking is luerl on github - https://github.com/rvirding/luerl

Luerl is lua 5.3 vm implemented in Erlang and developed by Robert Virding - one of the original Erlang developers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜