Skip to content

Branchline DSL

Branchline is a compact DSL for transforming structured data (JSON today; XML supported in the CLI). It runs on JVM and JS, with first-class tracing and error handling.

Quick start

  1. Open the Playground and run an example.
  2. Follow the Tour of Branchline.
  3. Use the Language Reference and Standard Library for details.

Minimal transform

TRANSFORM Hello {
    OUTPUT { greeting: "Hello, " + input.name };
}

Run locally

java -jar branchline-cli-<tag>-all.jar path/to/program.bl --input sample.json
Need setup help? See Install Branchline.

Examples to explore