Catala
Programming language for writing law as code, next to the legal text it implements.
What it does
Language for writing a statute's rules as code next to the legal text, article by article, for lawyers to review; the compiler produces executable code and a PDF of the annotated law. It installs through opam, with a VS Code extension, a tutorial book and a French law library. The README says it is an Inria research project and the compiler is still unstable and missing features.
Where it fits on the map
- Company tax department › Direct & International TaxCorporate income-tax compliancepartly covered
- Company tax department › Tax Policy & Stakeholder EngagementTax policy & stakeholder engagementpartly covered
- Tax authority › Policy, Legislation & Revenue AnalysisRules as code & legislative draftingcovered
Named as a project to start with: Catala writes the statute article by article next to the law; OpenFisca serves a country's rules as an API. Pick by how close to the legal text you must stay.
In the processes
- Corporate income tax returnStep 2 · Tax adjustments & return calculation
- Legislative changeStep 4 · Process & system change
On Learn
- Rules as codeGlossary term
- 01 · Rules as codeTrack
Similar projects
Of the same kind, for a shared jurisdiction or tax area. Not a ranking.
- ALEF (Belastingdienst)Dutch Tax Administration tool for writing executable tax rules in RegelSpraak without programming.
- DGFiP calculette-irThe M-language rules of the DGFiP engine that computes French income tax and the real-estate wealth tax (IFI).
- MlangCompiler for DGFiP's M language, used to compute the income tax of French taxpayers.
- OG-CoreOverlapping-generations model framework for evaluating the economic effects of fiscal policy.
- OpenFiscaRules-as-code framework: legislation written in Python, served as a web API.
- OpenFisca FranceThe French tax and benefit system, written as OpenFisca rules.
Maintain this project?
Link to this page from your README, so readers find the facts, the notes and where it fits. The badge is a small SVG served from this site.
[](https://tax-oss.com/projects/catala/)