Is it possible to connect Lua and javascript?

前端 未结 1 1851
心在旅途
心在旅途 2021-01-06 20:53

I\'m not sure if the question is well-posed as english is not my mother tongue. Is it possible to connect lua and javascript together? I did not find anything about that yet

相关标签:
1条回答
  • You have a few options for Lua usage on the front-end (this is probably what you're aiming for as you'd like to connect/replace JS with Lua):

    • https://github.com/paulcuth/starlight
    • https://github.com/gamesys/moonshine
    • https://github.com/fengari-lua/fengari

    There is some interesting WASM stuff in the works, like:

    • https://github.com/vvanders/wasm_lua
    • https://github.com/serprex/luwa
    • https://github.com/fperrad/lua.wasm

    For back-end there are even more options. Most noticeable are probably:

    • https://github.com/leafo/lapis
    • https://github.com/daurnimator/lua-http/
    • https://github.com/sailorproject/sailor
    • https://openresty.org/en/
    • https://github.com/sumory/lor
    • https://github.com/luvit/luvit

    I've listed just a few. There is a lot.

    0 讨论(0)
提交回复
热议问题