@@ -595,7 +595,10 @@ Sharing byte code is safe as it is read only and cannot be altered by lua script
595595
596596 // Example shows how to share the compiled byte code from a lua script between multiple VMs.
597597 func Example() {
598- codeToShare := CompileLua("mylua.lua")
598+ codeToShare, err := CompileLua("mylua.lua")
599+ if err != nil {
600+ panic(err)
601+ }
599602 a := lua.NewState()
600603 b := lua.NewState()
601604 c := lua.NewState()
@@ -847,7 +850,7 @@ Lua has an interpreter called ``lua`` . GopherLua has an interpreter called ``gl
847850----------------------------------------------------------------
848851How to Contribute
849852----------------------------------------------------------------
850- See `Guidlines for contributors <https://github.com/yuin/gopher-lua/tree/master/.github/CONTRIBUTING.md >`_ .
853+ See `Guidelines for contributors <https://github.com/yuin/gopher-lua/tree/master/.github/CONTRIBUTING.md >`_ .
851854
852855----------------------------------------------------------------
853856Libraries for GopherLua
@@ -865,6 +868,7 @@ Libraries for GopherLua
865868- `gluaxmlpath <https://github.com/ailncode/gluaxmlpath >`_ : An xmlpath module for gopher-lua
866869- `gmoonscript <https://github.com/rucuriousyet/gmoonscript >`_ : Moonscript Compiler for the Gopher Lua VM
867870- `loguago <https://github.com/rucuriousyet/loguago >`_ : Zerolog wrapper for Gopher-Lua
871+ - `gluabit32 <https://github.com/PeerDB-io/gluabit32 >`_ : [Port of Lua 5.2 bit32](https://www.lua.org/manual/5.2/manual.html#6.7)
868872- `gluacrypto <https://github.com/tengattack/gluacrypto >`_ : A native Go implementation of crypto library for the GopherLua VM.
869873- `gluasql <https://github.com/tengattack/gluasql >`_ : A native Go implementation of SQL client for the GopherLua VM.
870874- `purr <https://github.com/leyafo/purr >`_ : A http mock testing tool.
@@ -873,6 +877,8 @@ Libraries for GopherLua
873877- `glua-async <https://github.com/CuberL/glua-async >`_ : An async/await implement for gopher-lua.
874878- `gopherlua-debugger <https://github.com/edolphin-ydf/gopherlua-debugger >`_ : A debugger for gopher-lua
875879- `gluamahonia <https://github.com/super1207/gluamahonia >`_ : An encoding converter for gopher-lua
880+ - `awesome-gopher-lua <https://github.com/Root-lee/awesome-gopher-lua >`_ : Collections of awesome libraries for GopherLua.
881+
876882----------------------------------------------------------------
877883Donation
878884----------------------------------------------------------------
0 commit comments