Error code · a mistake in the document

dt::syntax

Documents are KDL v2: a bare true, false or null is KDL v1.

What the program says

dt::syntax

  × bare `null` is KDL v1; dharmatiles documents are KDL v2
   ╭─[example.dtile:3:24]
 2 │ tile size="1x1" {
 3 │     stack { dirt clods=null }
   ·                        ──┬─
   ·                          ╰── KDL v1 keyword
 4 │ }
   ╰────
  help: write #null
        explain: https://shawn-vincent.github.io/dharmatiles/e/syntax
        offline: dharmatiles explain dt::syntax

What to do

Write the keyword with a hash: #true, #false, #null.

Broken, then fixed

Gives dt::syntax
dharmatiles version="1.0.0"
tile size="1x1" {
    stack { dirt clods=null }
}
Mended, it reads clean
dharmatiles version="1.0.0"
tile size="1x1" {
    stack { dirt clods=none }
}

The rule

Documents are KDL v2, a small, readable configuration language, checked by the program against the tile language, so every error message is written for you, at the line it is about.

Read it in context: Syntax · A document is KDL v2, checked against the tile language