LuaRocks.org had a security incident in September 2026. Read the incident report.

JSX-like for lua

$ luarocks install daviluaxml

Davi System Lua XML (DaviLuaXML) is a library that allows you to use XML syntax inside Lua code.
XML tags are transformed into Lua function calls, similar to JSX in JavaScript.

Changes in 2.2-0:
- Parser extension API: SetPattern, GetPattern, SetParserPrincipal and match to register and query grammar patterns
- New AST node "file": parser output is now {node_type = "file", children = {...}} grouping all nodes of the file
- Importer works correctly after searcher installation
- Tests only run when the module is executed directly (is_main guard)
- Parser refactored with pattern registry
- Improved documentation in parser, compile and runtime modules

Versions

2.2-134 days ago6 downloads
2.2-036 days ago1 download
2.1-241 days ago4 downloads
2.1-150 days ago1 download
2.0-155 days ago3 downloads
1.5-1349 days ago6 downloads
1.3-1349 days ago3 downloads
1.2-5363 days ago3 downloads
1.2-4363 days ago5 downloads
1.2-3363 days ago5 downloads
1.2-2364 days ago6 downloads
1.2-1364 days ago5 downloads
1.1-21 year ago9 downloads
1.1-11 year ago7 downloads
1.0-31 year ago7 downloads
1.0-21 year ago4 downloads
dev-9dev1 year ago1 download

Dependencies

Dependency for

PudimWeb

Labels

Manifests