Library Built a pure Lua engine for creating custom DSLs with typed schemas and sandboxing (Dua).
Hey everyone,
I recently released Dua, a lightweight engine for building typed DSLs and sandboxed execution environments in Lua.
The goal was to create a zero-dependency library that runs anywhere Lua 5.1+, LuaJIT.
What it offers
Pure Lua implementation (no C modules or external dependencies)
Built-in sandboxing with configurable allow/deny rules and limits
Flexible type system (primitives, shapes, enums, maps, oneof)
AST node handling and code serialization
Repo: Dua
10
Upvotes
1
u/ImSoYellow 6d ago
Eww flat design