# Engine data files and their provenance
All files here were produced by running the installed LuaTeX 1.22.0
(TeX Live 2025) on test documents written for retex and recording what the
documented Lua API returns (clean-room rule, see CONTRIBUTING.md).
* `luatex-primitives.txt`: for each `tex.extraprimitives(group)` group
(`tex`, `core`, `etex`, `pdftex`, `umath`, `omega`, `aleph`, `luatex`), the
primitive names it returns; then `all`, the result of `tex.primitives()`.
* `luatex-cmds.txt`: for each primitive `n`, after
`tex.enableprimitives("", tex.extraprimitives())`:
`n token.create(n).cmdname token.create(n).mode token.create(n).command`.
* `luatex-cmdnames.txt`: `i token.commands()[i]`.
Regenerate by running `luatex -ini` on the dump scripts in
`tools/dump-primitives.tex`.
* `luatex-initex-params.txt` — `cmdname name value` for every integer,
dimension, glue, token-list and direction parameter in IniTeX mode, read
with `tex.get(name)` (`tools/dump-initex-params.tex`). `day`, `month`,
`year` and `time` are run-dependent.
* `luatex-node-types.txt`: for each node type, its id, name,
`node.fields(id)` and `node.subtypes(name)`; then `node.whatsits()` and
the fields of each whatsit subtype (`tools/dump-node-types.tex`).