Bigfootpp/lucid — reverse-engineered prompt
Reverse engineered prompt
Build me a small Roblox Luau package called LuCid that makes object oriented code easier without adding much overhead.
I want to be able to define a class in a clean two step style, first giving default fields like Health and Name, then giving methods like init and TakeDamage. It should create typed objects, support an init function that runs when I create an instance, and let me call methods with colon syntax like a normal Roblox object.
Please keep it lightweight and simple since this is meant to be a tiny utility library, not a big framework. Include a clear README with Wally install instructions, a quick example, and a warning that it’s beta. Add basic tests that show creating a class, setting initial values, running init, and updating state through a method. Use strict Luau where it makes sense and keep the API close to the example in the README.
Want more depth? Deep Reverse