File Download
Supplementary

postgraduate thesis: Applied type-directed semantics

TitleApplied type-directed semantics
Authors
Issue Date2024
PublisherThe University of Hong Kong (Pokfulam, Hong Kong)
Citation
Ye, W. [叶文佳]. (2024). Applied type-directed semantics. (Thesis). University of Hong Kong, Pokfulam, Hong Kong SAR.
AbstractProgramming language mechanisms with a type-directed semantics are nowadays common and widely used. Such mechanisms include gradual typing, type classes, implicits and intersection types with a merge operator. In these mechanisms with a type-directed semantics, types can alter the result of programs independently. We mainly focus on gradual typing and the merge operator with intersection types. A variant of small-step operational semantics called type-directed operational semantics (TDOS) is recently proposed in a calculus with merge operator and intersection types. Our first goal is to broaden the scope of TDOS. The semantics of gradually typed languages is typically given indirectly via an elaboration into a cast calculus. This contrasts with more conventional formulations of programming language semantics, where the semantics of a language is given directly using, for instance, an operational semantics. We give the semantics of gradually typed languages directly via the TDOS. Then we study a TDOS with common features. One combination includes the polymorphism, gradual typing and mutable references. Another combination includes polymorphism, merge operator based on intersection types and mutable references. Our second goal is to design applied gradual languages. Mainstream gradually typed languages, such as TypeScript, have OOP features like first-class traits/classes and dynamic inheritance. While there is much theoretical research on gradual typing, most of that research has been focused on gradualizing common calculi. In this work we tend to obtain a foundation for modelling gradually typed languages with both first-class classes and dynamic inheritance. Moreover, because of the spread use of probabilistic programming languages (PPL) in various areas, we aim to bring over the benefits of gradual typing to PPL.
DegreeDoctor of Philosophy
SubjectProgramming languages (Electronic computers)
Dept/ProgramComputer Science
Persistent Identifierhttp://hdl.handle.net/10722/351054

 

DC FieldValueLanguage
dc.contributor.authorYe, Wenjia-
dc.contributor.author叶文佳-
dc.date.accessioned2024-11-08T07:11:01Z-
dc.date.available2024-11-08T07:11:01Z-
dc.date.issued2024-
dc.identifier.citationYe, W. [叶文佳]. (2024). Applied type-directed semantics. (Thesis). University of Hong Kong, Pokfulam, Hong Kong SAR.-
dc.identifier.urihttp://hdl.handle.net/10722/351054-
dc.description.abstractProgramming language mechanisms with a type-directed semantics are nowadays common and widely used. Such mechanisms include gradual typing, type classes, implicits and intersection types with a merge operator. In these mechanisms with a type-directed semantics, types can alter the result of programs independently. We mainly focus on gradual typing and the merge operator with intersection types. A variant of small-step operational semantics called type-directed operational semantics (TDOS) is recently proposed in a calculus with merge operator and intersection types. Our first goal is to broaden the scope of TDOS. The semantics of gradually typed languages is typically given indirectly via an elaboration into a cast calculus. This contrasts with more conventional formulations of programming language semantics, where the semantics of a language is given directly using, for instance, an operational semantics. We give the semantics of gradually typed languages directly via the TDOS. Then we study a TDOS with common features. One combination includes the polymorphism, gradual typing and mutable references. Another combination includes polymorphism, merge operator based on intersection types and mutable references. Our second goal is to design applied gradual languages. Mainstream gradually typed languages, such as TypeScript, have OOP features like first-class traits/classes and dynamic inheritance. While there is much theoretical research on gradual typing, most of that research has been focused on gradualizing common calculi. In this work we tend to obtain a foundation for modelling gradually typed languages with both first-class classes and dynamic inheritance. Moreover, because of the spread use of probabilistic programming languages (PPL) in various areas, we aim to bring over the benefits of gradual typing to PPL.-
dc.languageeng-
dc.publisherThe University of Hong Kong (Pokfulam, Hong Kong)-
dc.relation.ispartofHKU Theses Online (HKUTO)-
dc.rightsThe author retains all proprietary rights, (such as patent rights) and the right to use in future works.-
dc.rightsThis work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.-
dc.subject.lcshProgramming languages (Electronic computers)-
dc.titleApplied type-directed semantics-
dc.typePG_Thesis-
dc.description.thesisnameDoctor of Philosophy-
dc.description.thesislevelDoctoral-
dc.description.thesisdisciplineComputer Science-
dc.description.naturepublished_or_final_version-
dc.date.hkucongregation2024-
dc.identifier.mmsid991044869877103414-

Export via OAI-PMH Interface in XML Formats


OR


Export to Other Non-XML Formats