pith. sign in

arxiv: 0901.3619 · v1 · submitted 2009-01-23 · 💻 cs.PL

Mechanized semantics for the Clight subset of the C language

classification 💻 cs.PL
keywords clightsemanticsformallanguagearticlecompcertcompilermechanized
0
0 comments X
read the original abstract

This article presents the formal semantics of a large subset of the C language called Clight. Clight includes pointer arithmetic, "struct" and "union" types, C loops and structured "switch" statements. Clight is the source language of the CompCert verified compiler. The formal semantics of Clight is a big-step operational semantics that observes both terminating and diverging executions and produces traces of input/output events. The formal semantics of Clight is mechanized using the Coq proof assistant. In addition to the semantics of Clight, this article describes its integration in the CompCert verified compiler and several ways by which the semantics was validated.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.