开发者

How could I embed Lua into Python 3.x?

开发者 https://www.devze.com 2023-02-01 06:20 出处:网络
Is it possible to embed Lua into Python 3.x?If so how could I run and execute Lua scripts within my Python program?How good would the interaction be between the Languages for instance would Lua have a

Is it possible to embed Lua into Python 3.x? If so how could I run and execute Lua scripts within my Python program? How good would the interaction be between the Languages for instance would Lua have access to all of P开发者_StackOverflow社区ython's variables and classes and would Python have access to all of Lua's information?


Try Lunatic Python, a two-way bridge between Python and Lua.


In addition to Lunatic Python, there is Lupa, powered by LuaJIT:

http://pypi.python.org/pypi/lupa/0.9

See the link about advantages and reasons to use it.

0

精彩评论

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