Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

Build errors ​

A failing node, line or data file is recorded with its TS line and the build carries on. At the end one HelixBuildError lists them all.

WARNING

1.20.1 has no return run. elif/else use a branch-number local there instead, and pass + exit loops and score-returning functions fail the build.

Diagrams ​

Codegen Flownew Datapack("ns", v26_3)dp.createFunction(name) / dp.public(name)fn.build(ctx => …)each ctx call pushes a nodebuildDatapack(dp)Render every functionnode -> handler -> linesRun passesinline, group, dedupe, infer types, intern readsthrow HelixBuildError(lists all of them)yeserrors?Files in memorydp.writeDatapack(path)

Released under the MIT License · Credits
These docs were written with AI; the layout and every page have been reviewed by a human.