PureCake: A Verified Compiler for a Lazy Functional Language
نویسندگان
چکیده
We present PureCake, a mechanically-verified compiler for PureLang, lazy, purely functional programming language with monadic effects. PureLang syntax is Haskell-like and indentation-sensitive, its constraint-based Hindley-Milner type system guarantees safe execution. derive sound equational reasoning principles over operational semantics, dramatically simplifying some proofs. prove end-to-end correctness the compilation of down to machine code---the first such result any lazy language---by targeting CakeML composing verified compiler. Multiple optimisation passes are necessary handle realistic idioms effectively. develop PureCake entirely within HOL4 interactive theorem prover.
منابع مشابه
ذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Proceedings of the ACM on programming languages
سال: 2023
ISSN: ['2475-1421']
DOI: https://doi.org/10.1145/3591259