HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
CatalaLang
catala
OCaml2020–2025
CatalaLang / catala

catala

Programming language for literate programming law specification

16Distinct people
17Mentions
0Explicit recommenders
2.4KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Programming language for literate programming law specification

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year17 dated mentions

Observed mentions: 2020-10-31 01:24:10 UTC to 2025-12-08 10:55:54 UTC.

02462020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 6 mentions; 2 submissions, 4 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC211
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC202
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC110
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC624
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC404
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC211

What Hacker News says

17 sources
https://github.com/CatalaLang/catala#readme is the most famous one I know of, and https://github.com/CatalaLang/catleg is an integration with the French legal code. https://catleg.readthedocs.io/en/latest/cli_reference.html#c... gives an example URL that has unfortunately link rotted but wayback has it https://web.archive.org/web/20240721045507/https://www.legif... I am pretty sure there are several more but that's the one I can recall. It has been discussed here periodically https://news.ycombinator.com/from?site=github.com/catalalang (and https://news.ycombinator.com/from?site=catala-lang.org ) with the 2023 thread being the beefiest https://news.ycombinator.com/item?id=37546874
In MIT study explains why laws are written in an incomprehensible style
I mean the "mainframe model" of a single large system and many dumb terminals, now dumb terminals are named enpoints and the mainframe is someone else computer across the world. The trust problem is easy to solve, with an open society: as long as payments got processed with open APIs and the government takes care of the frauds there is no trust problem. I do not need to trust a third party with eCash, I only need to trust my State protections. The idea is already tempted, see not only the historic eCash, witch are the modern GNU Taler chosen (it seems) by the EU for the digital Euro https://www.ngi.eu/ngi-projects/ngi-taler/ and https://social.network.europa.eu/@EC_NGI/111499172838284606 but also https://openfisca.org and https://github.com/CatalaLang/catala or few others alike. That's still embrional but in FLOSS terms we have already mo
Read the rest
re than enough, we just miss the law enforcing it and the schools teaching it to the masses.
In Open Source on its own is no alternative to Big Tech
Law is a mess, in part because its authors take shortcuts. For example, from the first example on CatalaLang's README.md: > If the property was acquired by gift [and various conditions apply], then for the purpose of determining loss the basis shall be such fair market value. [emphasis added] I think (and I'm not a lawyer or a tax expert) that this means that the basis of an asset can have a different value for the purpose of determining gain or determining loss. Wow, basis isn't just a number, although one might not notice this if one didn't read the six emphasized words. But the Catala code seems to completely ignore this. Oops. I filed an issue: https://github.com/CatalaLang/catala/issues/514 In a real use case, I imagine that substantial refactoring of the parts that consume basis might be needed when one notices that the basis is
Read the rest
not a number.
In CatalaLang/catala: Programming language for law specification
I don't think there is any reason ambiguity would clash with a project like this. Take "value.fair_market" in the concepts section [0]. Sure, lawyers can argue over what this means, but these competing definitions can also be defined programmatically. I agree with your idea that our interest in laws shouldn't focus on implementation details but I think they should focus on outcomes. This requires a method to produce an evaluation function to measure the outcomes of a new law, and a system such as Catala to help model expected outcomes and to help select between competing laws (eg if our outcome = "we want less pollution" then our policy might be "ban polluting industries" or "tax pollution externalities." Both have complex consequences which would be better analyzed automatically and measured empirically.) [0] https://github.com/CatalaLan
Read the rest
In CatalaLang/catala: Programming language for law specification

Showing the 15 most recent of 17 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.