Or it might be as easy as writing a compiler. These things are hard to prejudge.
Lord help you if you try to write a perfectly conforming compiler for C++ (has it ever been done?), and the U.S. legal system is at least an order of magnitude more complex than that.