The semantics of the C programming language
We present formal operational semantics for the \(C\) programming language. Our starting point is the ANSI standard for \(C\). Knowledge of \(C\) is not necessary (though it may be helpful) for comprehension, since we explain all relevant aspects of \(C\) as we proceed. Our operational semantics is based on evolving algebras. Our primary concern here is with semantics, not syntax. Consequently, we assume that all syntactic information regarding a given program is available to us at the beginning of the computation (via static functions). We intended to cover all constructs of the \(C\) programming language, but not the \(C\) standard library functions (e.g. fprintf(), fscanf()). It is not difficult to extend our description of \(C\) to include any desired library function or functions. Evolving algebra semantic specifications may be provided on several abstraction levels for the same language. Having several such algebras is useful, for one can examine the semantics of a particular feature of a programming language at the desired level of abstraction, with unnecessary details omitted. It also makes comprehension easier. We present a series of four evolving algebras, each a refinement of the previous one. The final algebra describes the \(C\) programming languae in full detail. For the entire collection see [Zbl 0852.00039].
- Equivalence is in the eye of the beholder
- Towards verification of C programs. C-light language and its formal semantics
- Refined description of the C[] language
- Towards proving type safety of \(\mathrm{C}^{\#}\)
- Mechanized semantics for the clight subset of the C language
- The rewriting logic semantics project: a progress report
- Abstract state machines and the inquiry process
- Engineering the SDL formal language definition.
- The rewriting logic semantics project: a progress report
- scientific article; zbMATH DE number 4123320 (Why is no real title available?)
- Errata to: ``The semantics of the C programming language
- scientific article; zbMATH DE number 868106 (Why is no real title available?)
- An operational and axiomatic semantics for non-determinism and sequence points in C
- A high-level modular definition of the semantics of C\(_{\sharp}\)
- scientific article; zbMATH DE number 7589535 (Why is no real title available?)
- Reversify any sequential algorithm
- A reversible semantics for Janus
- Towards proving type safety of .NET CIL
This page was built for publication: The semantics of the C programming language
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4283242)