What is Catala and how does it work?
masterCatala is a domain-specific language designed for socio-fiscal legislative literate programming. It allows developers to annotate legislative texts (laws, executive orders, etc.) with their computational meaning.
Core Workflow:
- Annotate: Gather legislative texts and annotate them article by article in a text editor.
- Compile: Use the Catala compiler to derive algorithms from the annotated text.
- Verify: The compiler can produce a lawyer-readable PDF version of the implementation, allowing domain experts (lawyers) to certify the code's faithfulness to the law.
Key Concept: Default Logic Catala embeds 'definition-under-conditions' (based on default logic) as a first-class feature. This allows the language's logical structure to mimic the logical structure of legal statutes.