$ luarocks install dmsDMS (Data Meta Syntax) is a strict, indent-based data syntax with
NFC-normalized strings, multi-line heredocs, polymorphic root, front
matter, and comment-AST preservation across decode / modify / re-encode.
This is the Lua port. Public API (SPEC v0.14):
dms.decode(src) -> body
dms.decode_document(src) -> { meta, body, comments, original_forms }
dms.encode(doc) -> DMS source string
The legacy names `dms.parse` / `dms.parse_document` / `dms.to_dms` are
kept as deprecated thin aliases for one release (each warns once).
Tier-0 conformance: 100% on the upstream conformance corpus
(~4695 fixtures).
Versions
Dependencies
lua >= 5.3