marked/zucchini
v0.1.0 ·
Squash with a touch of new solver
Squash with a fancy touch of Luau's new solver.
Installation
Pesde
pesde add marked/zucchini
pesde install
Wally
- Add it to your wally manifest:
[dependencies] zucchini = "mark-marks/zucchini@LATEST" # Replace LATEST with the latest version
wally install
NPM / roblox-ts
Zucchini isn't currently available for roblox-ts.
Contributions are welcome!
Usage
Zucchini is Squash with a lighter syntax, for example:
local player_serdes = zucchini.record {
position = zucchini.vector,
health = zucchini.uint8,
name = zucchini.string,
poisoned = zucchini.boolean,
items = zucchini.array {
zucchini.record {
count = zucchini.vlq,
name = zucchini.string,
},
},
inns = zucchini.map { [zucchini.string] = zucchini.boolean },
equipped = zucchini.opt { zucchini.string },
}