https://github.com/fanqingsong/oopclass.lua
a lightweight object oriented programming tool of lua language
https://github.com/fanqingsong/oopclass.lua
class lightweight lua
Last synced: 3 months ago
JSON representation
a lightweight object oriented programming tool of lua language
- Host: GitHub
- URL: https://github.com/fanqingsong/oopclass.lua
- Owner: fanqingsong
- Created: 2016-11-04T14:32:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-07-27T08:40:05.000Z (almost 5 years ago)
- Last Synced: 2025-01-14T13:53:52.154Z (5 months ago)
- Topics: class, lightweight, lua
- Language: Lua
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Class for Lua
a lightweight object oriented programming tool of lua language
Because Lua is Object-based Object Oriented Programming language, so there isn't class keyword for usage.
The repo tries to give a simple solution to mimic class.Compared to other implementation,
https://github.com/Yonaba/Lua-Class-System
It has special features:
* (1) virtual class declaration
* (2) single-instance declaration
* (3) frozen for class. once frozen, the class properties cannot be changed.