在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):stevedonovan/luar开源软件地址(OpenSource Url):https://github.com/stevedonovan/luar开源编程语言(OpenSource Language):Go 100.0%开源软件介绍(OpenSource Introduction):Luar: Lua reflection bindings for GoLuar is designed to make using Lua from Go more convenient. Go structs, slices and maps can be automatically converted to Lua tables and vice-versa. The resulting conversion can either be a copy or a proxy. In the latter case, any change made to the result will reflect on the source. Any Go function can be made available to Lua scripts, without having to write C-style wrappers. Luar support cyclic structures ( User-defined types can be made available to Lua as well: their exported methods can be called and usual operations such as indexing or arithmetic can be performed. See the documentation for usage instructions and examples. InstallationInstall with
Luar uses Alessandro Arzilli's golua. See golua's homepage for further installation details. REPLVersion 1.x features an example REPL that is available in the ChangelogLuar 2This is a rewrite of 1.x with extended features and a cleaner API. The main differences with the previous version:
The range of supported conversion has been extended:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论