Print Email Facebook Twitter Typesafe by Definition for Languages with Explicit Deallocation Title Typesafe by Definition for Languages with Explicit Deallocation Author van den Berg, Rob (TU Delft Electrical Engineering, Mathematics and Computer Science) Contributor Krebbers, R.J. (mentor) Degree granting institution Delft University of Technology Programme Computer Science and Engineering Project CSE3000 Research Project Date 2018-07-12 Abstract A definitional interpreter is an interpreter which uses the semantics of its own host language to define those of its object language. Traditionally, a seperate type safety proof is used for such an interpreter. Using a "typesafe-by-construction" approach, where the typesafety is proven by expressing the type system of the object language in the type system of the host language is a new approach recently used for imperative languages. In this paper a proof-of-concept is made to show that the technique of "typesafe-byconstruction" can be also applied to interpreters for languages with explicit deallocation. This is done by making such an interpreter for a language called ML-dealloc, which is a basic version of ML extended with explicit allocation and deallocation. The interpreter is written in agda, which type system can be used to express ML-dealloc. Subject TypesafetyDeallocationMemory managementDefinitional interpreter To reference this document use: http://resolver.tudelft.nl/uuid:ebf47756-3895-48cb-bcd8-593c79c560a5 Part of collection Student theses Document type bachelor thesis Rights © 2018 Rob van den Berg Files PDF document.pdf 283.67 KB Close viewer /islandora/object/uuid:ebf47756-3895-48cb-bcd8-593c79c560a5/datastream/OBJ/view