The increase in complexity of tax law coincided with the era of COBOL mainframes and those changes were a lot easier to implement incrementally, but to build it from scratch now is a herculean task regardless of the language.
AI definitely won’t help with that.