---
title: BRL
summary: The BIM.works Reporting Language. Declarative report definitions with pages, tables, charts, viewports and embedded BQL queries, rendered to HTML or PDF.
part: glossary
see-also: [reference/brl, glossary/bql, explanation/the-query-languages]
---

# BRL

A BRL document starts with `brl 1 report "…" { … }` and lays out pages of blocks: `table`, `chart`, `kpiGrid`, `callout`, `metadata`, `tree`, `toc`, `text` and `viewport` (a rendered view of the model, optionally filtered or styled with [[term:bvl]]). Data comes from embedded queries — `let walls = bql GET …` — and `foreach` / `when` expand pages per row or conditionally, so one report definition works on whatever models are loaded when it is generated. Rendering emits semantic HTML that a stylesheet styles; PDF follows from it. Reports are gated by [[feature:BRL]].
