> Anyone setting out to prove a compiler correct must choose a style of > semantics. The CakeML and CompCert projects, among others, show that > operational semantics such as abstract machines and interpreters are > viable choices. In this paper we explore whether denotational semantics
A viable choice is one that is well supported by coding agents. Otherwise, the amount of effort involved is not worth it. Does anybody care about the style, other than those with a large sunk cost invested in one particular style?
> can also be used in proofs of compiler correctness and evaluate the > tradeoffs. We focus on a compiler from FPC, a language with lexically > scoped functions and recursive types, to a first-order low-level > intermediate language.
Use a toy language, and then compare techniques by counting tokens in the implementation (a few thousand with differences of around 10%; table 1). A Planck said: Science advances one funeral at a time.
-- Derek M. Jones Evidence-based software engineering blog:https://shape-of-code.com