IMO this is such an 'obvious' idea once you think about it that it will eventually happen.
The law will go from written natural language to executable computer programs (formal languages).
However a change of this mangnitude cannot happen quickly, (and might even be impossible to do peacefully).
Abusing the "software is eating the world" analogy, we ain't seen nothing yet. Software is just barely opening its mouth.