Compiling Exceptions Correctly


Autoria(s): Hutton, Graham; Wright, Joel
Data(s)

2004

Resumo

Exceptions are an important feature of modern programming languages, but their compilation has traditionally been viewed as an advanced topic. In this article we show that the basic method of compiling exceptions using stack unwinding can be explained and verified both simply and precisely, using elementary functional programming techniques. In particular, we develop a compiler for a small language with exceptions, together with a proof of its correctness.

Formato

application/pdf

Identificador

http://eprints.nottingham.ac.uk/228/1/exceptions.pdf

Hutton, Graham and Wright, Joel (2004) Compiling Exceptions Correctly. In: Proceedings of the 7th International Conference on Mathematics of Program Construction, July 2004, Stirling, Scotland.

Idioma(s)

en

Publicador

Springer Lecture Notes in Computer Science

Relação

http://eprints.nottingham.ac.uk/228/

Tipo

Conference or Workshop Item

PeerReviewed