$ luarocks install daviluaxmlDavi 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