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-1136 days ago1 download

Dependencies

lua >= 5.1

Manifests