21 Commits

Author SHA1 Message Date
48d6719d92 ha yout think this is still a alive project.... naww 2026-01-01 18:39:50 +01:00
99278f96c1 Add README.md for Lua OOP and Types tutorial 2026-01-01 18:37:06 +01:00
b8c35952cf Add function calls and copy methods for type demonstrations in main.lua 2026-01-01 18:34:25 +01:00
89e36db5cb Refactor type definitions: implement immutability and enhance Primitive class functionality 2026-01-01 18:34:04 +01:00
ec6e7552fc Remove unused deepcopy function from oop/utils.lua 2026-01-01 18:33:57 +01:00
64912101c4 Fix variable declaration for oop module in main.lua 2026-01-01 18:15:07 +01:00
43a1ec356b Fix require path for oop module in types.lua 2026-01-01 18:15:00 +01:00
9fa895c696 Refactor main.lua: remove BankAccount and PremiumAccount implementations, retain type demonstrations 2026-01-01 18:11:48 +01:00
971cbbc8a2 Implement immutability for Int, Float, Bool, and Str types; add freeze_table function for Tuple 2026-01-01 18:11:36 +01:00
05756f9289 Add core type definitions: Int, Float, List, Tuple, Queue, Stack, Dict, Set, Bool, and Str 2026-01-01 18:07:48 +01:00
5381de391b Add default dunder methods and deny operations for unsupported operations 2026-01-01 18:03:25 +01:00
d8cfdd2900 Refactor instantiation: replace oop.new with direct constructor calls for BankAccount and PremiumAccount 2026-01-01 17:55:52 +01:00
7c7671a15a Enhance oop.install function: add support for dynamic class creation via __newindex 2026-01-01 17:55:46 +01:00
83fde73df8 Refactor class structure: redefine BankAccount and PremiumAccount classes, remove Vault and SubVault implementations 2026-01-01 17:48:03 +01:00
1a492d9b9a Refactor visibility handling: centralize visibility constants and improve error messaging for access violations 2026-01-01 17:47:57 +01:00
c7237452df Refactor OOP implementation: redefine Vault and SubVault classes, enhance method visibility and initialization 2026-01-01 17:41:32 +01:00
1f595e867a Refactor OOP implementation: enhance Animal class methods and improve CLI functionality for animal actions 2026-01-01 17:27:50 +01:00
eb3c3916ef Refactor class structure: redefine Animal and Dog classes for improved inheritance and method definitions 2026-01-01 17:20:23 +01:00
45a226cb7b Enhance class definition: add inherit method to support base class inheritance 2026-01-01 17:20:14 +01:00
b32a9d8786 Refactor OOP implementation: replace class-based structure with a function-based approach and enhance method definitions 2026-01-01 17:14:23 +01:00
c0c37059d6 init 2026-01-01 16:50:43 +01:00