CatalaBlocks: A Block-Based Visual Tool for Programming the Law
Abstract
Catala is a domain-specific programming language for statutory law, featuring prioritized default logic and programming constructs that precisely mirror legal reasoning structures. Extensive study of block-based programming has not clarified how such representations function in semantics-constrained domain-specific languages that require users to directly encode statutory logic. We introduce CatalaBlocks, a block-based representation of Catala that renders its core semantic constructs into a constrained visual form, enabling empirical study of how representation shapes interaction with computationally formalized statutory logic. We conducted a comparative study with legal professionals, examining how participants implemented statutory rules using either textual Catala or CatalaBlocks. Participants using CatalaBlocks completed tasks more quickly, produced more accurate code, reported lower difficulty, and expressed greater confidence in the solutions’ alignment with intended statutory logic. These findings provide insight into how representation shapes domain experts’ interaction with a semantics-first language for statutory law.
- Venue
- DIS 2026
- Volume
- Proceedings of the 2026 Designing Interactive Systems Conference
- DOI
- 10.1145/3800645.3813091
- https://dl.acm.org/doi/pdf/10.1145/3800645.3813091
- Anthology ID
2026.dis.274
Cite
@inproceedings{russo-etal-2026-catalablocks,
title = {{CatalaBlocks: A Block-Based Visual Tool for Programming the Law}},
author = {Nicholas Michael Russo and Matthew Schmitt and Ananya Iyer and Jonggi Hong},
booktitle = {Proceedings of the 2026 Designing Interactive Systems Conference},
isbn = {9798400725630},
year = {2026},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3800645.3813091},
url = {https://doi.org/10.1145/3800645.3813091},
abstract = {Catala is a domain-specific programming language for statutory law, featuring prioritized default logic and programming constructs that precisely mirror legal reasoning structures. Extensive study of block-based programming has not clarified how such representations function in semantics-constrained domain-specific languages that require users to directly encode statutory logic. We introduce CatalaBlocks, a block-based representation of Catala that renders its core semantic constructs into a constrained visual form, enabling empirical study of how representation shapes interaction with computationally formalized statutory logic. We conducted a comparative study with legal professionals, examining how participants implemented statutory rules using either textual Catala or CatalaBlocks. Participants using CatalaBlocks completed tasks more quickly, produced more accurate code, reported lower difficulty, and expressed greater confidence in the solutions’ alignment with intended statutory logic. These findings provide insight into how representation shapes domain experts’ interaction with a semantics-first language for statutory law.}
}