That's what lawyers and judges are for. To argue over and interpret the meaning of laws, regulations, contracts, constitutions. It's all human wording and concepts, which are not deterministic, one-time interpretable things that a compiler would understand. They have to be understood in context of legal history and contemporary culture.
The law isn't computer science as much as Silicon Valley would like to make it so.