English

Introducing Certified Compilation in Education by a Functional Language Approach

Programming Languages 2019-06-28 v1 Logic in Computer Science

Abstract

Classes on compiler technology are commonly found in Computer Science curricula, covering aspects of parsing, semantic analysis, intermediate transformations and target code generation. This paper reports on introducing certified compilation techniques through a functional language approach in an introductory course on Compiler Construction. Targeting students with little or no experience in formal methods, the proof process is highly automated using the Why3 framework. Underlying logic, semantic modelling and proofs are introduced along with exercises and assignments leading up to a formally verified compiler for a simplistic imperative language. This paper covers the motivation, course design, tool selection, and teaching methods, together with evaluations and suggested improvements from the perspectives of both students and teachers.

Keywords

Cite

@article{arxiv.1906.11425,
  title  = {Introducing Certified Compilation in Education by a Functional Language Approach},
  author = {Per Lindgren and Marcus Lindner and Nils Fitinghoff},
  journal= {arXiv preprint arXiv:1906.11425},
  year   = {2019}
}

Comments

In Proceedings TFPIE 2018, arXiv:1906.10757

R2 v1 2026-06-23T10:04:56.378Z