Skip to content

How to define lua modules in Python #274

@kedare

Description

@kedare

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions