Skip to content
danini-the-paniniPublic

About

Lua implementation of the KDL language

Resources

Stars

13 stars

Watchers

1 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

Repository files navigation

kdlua

KDL for lua

Install

luarocks install kdlua

Usage

kdl = require("kdlua")

doc = kdl.parse_document("node foo bar=7 { qux 17 }")
doc.nodes[1].name --> "node"
doc.nodes[1].entries[1] --> "foo"
doc.nodes[1].entries["bar"] --> 7
doc.nodes[1].children[1].name --> "qux"
doc.nodes[1].children[1].entries[1] --> 17

About

Lua implementation of the KDL language

Resources

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages