For years I've tried to convince my lawyer friend that something exactly like this would be great to have, and then it turns out to have existed probably all the time. I think this is truly awesome. Every law should be written in a language like this, and presented publicly with syntax highlighting and consistent formatting rules. Then it should be made part of the school curriculum to learn the law language. I belie…
CatalaLang/catala: Programming language for law specification
111–120 of 301 posts
Re: CatalaLang/catala: Programming language for law specification
#112Re: CatalaLang/catala: Programming language for law specification
#113For years I've tried to convince my lawyer friend that something exactly like this would be great to have, and then it turns out to have existed probably all the time. I think this is truly awesome. Every law should be written in a language like this, and presented publicly with syntax highlighting and consistent formatting rules. Then it should be made part of the school curriculum to learn the law language. I belie…
Re: CatalaLang/catala: Programming language for law specification
#114Re: CatalaLang/catala: Programming language for law specification
#115It would be interesting to also "weave" in test cases. The workface of logic statements is exactly where bugs are introduced. Especially around temporal events, and that goes to formal models (and even more bugs). Typically, if there is a rule around height, there would be at least three tests¹: one taller, one equal to, and one shorter. (Without types or something, then also negative, null, and max/min boundary inpu…
Or take it a step further, write a test suite and automatically generate a range of possible laws that satisfy the tests.
Re: CatalaLang/catala: Programming language for law specification
#116It just seems like a bizarre decision that can't be a benefit at all and can only have negative consequences. Just googling things about it is going to be hard. Why immediately create potential problems for yourselves when you can choose a name that's not an issue?
Re: CatalaLang/catala: Programming language for law specification
#117Earlier quoted context omitted.
Catala still produces plaintext legal documents at the end of the day but can be seen as a markup language for those documents. But because that markup language is a whole lot more precise than the legal text itself, it can be a bit more versatile. Examples of how this could be useful: - Reducing the overhead for maintaining a list of semantic translations of that legal code into other languages. Of course the offici…
> Of course the official language is the only one that is "legal" If only! Here in Canada there are two official languages. All laws are drafted, and enacted, in both English and French. Both versions are equally valid, equally binding. And, sometimes, they don't say the same thing.
Re: CatalaLang/catala: Programming language for law specification
#118I know that naming is hard, and it has already been mentioned in the comments here but... I can't believe that somebody named a programming language with the exact same name as an existing natural language spoken by millions of people. It just seems like a bizarre decision that can't be a benefit at all and can only have negative consequences. Just googling things about it is going to be hard. Why immediately create…
Re: CatalaLang/catala: Programming language for law specification
#119Is this a joke?
Re: CatalaLang/catala: Programming language for law specification
#120I know that naming is hard, and it has already been mentioned in the comments here but... I can't believe that somebody named a programming language with the exact same name as an existing natural language spoken by millions of people. It just seems like a bizarre decision that can't be a benefit at all and can only have negative consequences. Just googling things about it is going to be hard. Why immediately create…
> Just googling things about it is going to be hard
when you're looking for docs on go do you google just "go"?
edit: fine, it's called catalá in catalonian itself - this is so pedantic now that i might as well at this point say that the missing diacritic is sufficient to disambiguate.