Sounds like Ada. A lot of the time, once you got your code to compile, it would work.
What about Lean?