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.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Proceedings of the ACM on programming languages

سال: 2023

ISSN: ['2475-1421']

DOI: https://doi.org/10.1145/3591259