Thanks! All the other comments have been “hey the system you described has been around for many years, with all the problems you described but I didnt notice those just going to make a rebuttal to your idea for rebuttal’s sake”
I've actually thought about this for some years, but idly, and I haven't found the time yet to get started. It just seems like an excellent and obvious-to-me use for HTML.
Florida has a search function for their statutes that allows you to then select the year/version of the law. If the Law was amended in a given year in the annotations there are “redline versions” of the law pre amendment, with changes and final.
So again similar to what you describe but as you say...limitations to existing systems. Obviously standardization is also another problem, it would be hard enough to work with federal code and 50 states but the reality is each county and city/municipality can have their own bodies of laws, rules, regulations and ordinances...so thousands of bodies of law, in the US alone.
My main problem is that many laws are written as: “Hereby strikes section b of USC1788(1)(iii) and replaced the word or with and”
And with this kind of system it would be standardized already on how to see what the modifications look like, or at least jump to that old version of the law easily
When the final laws are all merged together after a passed bill makes simple instructions instead of the plain text law, it would be easy to see the version history of that section of the law, or act