开源软件名称(OpenSource Name):Yonaba/30log开源软件地址(OpenSource Url):https://github.com/Yonaba/30log开源编程语言(OpenSource Language):Lua 94.8%开源软件介绍(OpenSource Introduction):30log, in extenso 30 Lines Of Goodness is a minified framework for object-orientation in Lua.
It provides named and unnamed classes, single inheritance, metamethods and a basic support for mixins. In 30 lines. DownloadArchiveCurrent release is 1.3.0. See other releases. BashThis will clone the repository, as-is, and deliver the cutting edge release. Might be unstable.
LuaRocksThis will download and install the latest stable release from Luarocks servers.
WikiA full documentation is available on the wiki. Find the project page at yonaba.github.io/30log. Class-Commons supportClass-Commons is an interface which provides a common API for a wide range of Object Orientation libraries in Lua. There is a small plugin, originally written by TsT
which provides compatibility between 30log and Class-commons. SpecsYou can run the included specs with Telescope using the following command from Lua from the root foolder:
About the source30log-clean.lua30log was initially designed for minimalistic purposes. But then commit after commit, I came up with a source code that was obviously surpassing 30 lines. As I wanted to stick to the "30-lines" rule that defines the name of this library, I had to use an ugly syntax which not much elegant, yet 100 % functional. 30log-global.luaThe file 30log-global.lua features the exact same source as the original 30log.lua,
excepts that it sets a global named 30log-singleton.luaThe file 30log-singleton.lua is a singleton pattern implementation for use with 30log. Contributors
LicenseThis work is MIT-Licensed. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论