denismerigoux

Joined 6 years ago

Karma
24
Submissions
18
Member since
Oct 31
https://merigoux.ovh
View on Hacker News

Recent submissions

Comment · 5 years ago
Catala is not meant to formalize a law which obviously was not written to "compute" something. It is meant as a tool to improve the fair and just enforcement of pieces of law that effectively define an algorithm that can be enforced by a computerized system.
Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
Thanks for pointing out the broken link, I just fixed it : https://github.com/CatalaLang/catala-website/commit/a5c4157a....

Your question is spot-on; for me the Catala code has to be officially published from the government service that uses it to apply a piece of law automatically with a legal expert system : tax administration, social benefits administration, etc.

If you disagree with the code, then I guess you could sue the administration in court. The legal process for that depends on the country though.

Comment · 5 years ago
I've considered it, but from interactions with lawyers it seems that you don't need to put that degree of sophistication into the syntax for lawyers to be able to read and review the code. Turns out semantic features like the possibility of splitting the code into base case/exceptions and definitions under condition seem more important.

Catala is just a functional language under the hood, and its syntax is very basic (it has an LR(1) parser) with just verbose keywords.

Comment · 5 years ago
No, the language does not have self reflection, it is a domain specific language that is not even Turing complete. However Catala programs could be compiled to deep or shallow embeddings inside other programming languages, including inside theorem provers interactive (Coq, F*, Agda, etc.) or automatic (SMT solvers, abstract interpreters). You would then be able to reason about your Catala programs inside these external provers.
Comment · 5 years ago
Hi, Catala author here. This is amazing! Please get in touch if you have any questions or just want to talk :)
Comment · 5 years ago
Hi, Catala author here! (2) is definitely possible since the language has a formalization and is proof-oriented. I have plans to connect it to theorem provers for the kind of application you're referring to, just didn't have the time to do it yet :)
Comment · 6 years ago
Very insightful update, I'll remember it. Thanks!
Comment · 6 years ago
Hi, OP here :) I've come to the same conclusion about programming language creation. However, for a very large organization, it makes sense to have a team in charge of language tooling (see Dropbox/Python, Facebook/Hack/Flow, Apple/Swift). Which is why I'm trying to convince the French state that they should have such a team of permanent people.
Comment · 6 years ago
Hi, author here :) You seem to be well-informed of the DGFiP jargon, do you know if news of my work has been spreading among the IT department there?
Comment · 6 years ago
Comment · 6 years ago
Hi, Catala author here :) Since I'm here please shoot your questions, I'll try to answer them.
Comment · 6 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton