top | item 3340734

(no title)

calcnerd256 | 14 years ago

Or it might be as easy as writing a compiler. These things are hard to prejudge.

discuss

order

Animus7|14 years ago

Compiler writing is easy? No. (I've built compilers for large subsets of C and Java, as well as my own languages)

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.

a3camero|14 years ago

To make that task even more complicated, people don't agree on what many of the rules are. Your "law compiler" would have to take in input and have output that's maybe this, or more likely this, but it could also be this...

calcnerd256|14 years ago

Compiler writing isn't the easiest thing in the world by any stretch, but it's something that we manage to achieve all the time, unlike the mythical "program to do my programming" we are so quick to imagine.