Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to define lua modules in Python #274

Open
kedare opened this issue Oct 17, 2024 · 0 comments
Open

How to define lua modules in Python #274

kedare opened this issue Oct 17, 2024 · 0 comments

Comments

@kedare
Copy link

kedare commented Oct 17, 2024

Hello.

I am porting a project currently made with Go and https://github.com/yuin/gopher-lua to Python and Lupa.

The way the bridge between the host and the lua interpreter is very different on each system.

I found that on lupa you can easily inject directly globals, but I am looking to make a lua module in python that could be loaded via require("my_lua_module_in_python") kind of how it's done with gopher-lua there https://github.com/yuin/gopher-lua?tab=readme-ov-file#creating-a-module-by-go

No luck so far checking the documentation, is this something possible ?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant