lua-dataclass

A simple yet powerful dataclass implementation for Lua, inspired by Python's dataclasses.

$ luarocks install lua-dataclass

This library allows you to define data structures with minimal boilerplate, supports immutability, type validation, default values, and more.

Versions

1.0-1185 days ago10 downloads

Dependencies

lua >= 5.1

Manifests