I've been getting a bit crossed eyed reading a bunch of crap legal documents. I now recognize patters and see that words, phrases, and structure have specific meanings. A lot of that are definition statements and conditional constructs.<p>Now I see lawyers as programmers who write really crappy code with an ancient language and grammer.<p>It would make a lot of sense to modernize their tool set and structure their documents like well written code.<p>"Your honor, the defendant violated the contract on line 325 by failing to perform the 3rd AND condition."
I've often been glad I'm not a lawyer. Could you imagine writing code (a contract) that you can't test before putting into production, and running it on a processor (Judge) that would execute it inconsistently from every other processor?
You could always have your own internal "compiler" which will translate from this language to your "machine" code. Similar alternative would be to express the flow of the document in Lisp/Scheme. That way you can quickly spot bugs in the document.
man, I have been thinking this for years. If ilaws were written in code there would be no reason to have judges or lawyers. We have those only because spoken language is ambiguous and open to interpretation.