A framework for resource dependent EDSLs in a dependently typed language (Artifact)
Muijnck-Hughes, Jan de and Brady, Edwin C. and Vanderbauwhede, Wim (2020) A framework for resource dependent EDSLs in a dependently typed language (Artifact). Dagstuhl Artifacts Ser., 6 (2). 02:1-02:3. (https://doi.org/10.4230/DARTS.6.2.2)
Preview |
Text.
Filename: Muijnck_Hughes_etal_DAS2020_A_framework_resource_dependent_EDSLs_dependently_typed_language_Artifact.pdf
Final Published Version License: Download (436kB)| Preview |
Abstract
dris' Effects library demonstrates how to embed resource dependent algebraic effect handlers into a dependently typed host language, providing run-time and compile-time based reasoning on type-level resources. Building upon this work, Resources is a framework for realising Embedded Domain Specific Languages (EDSLs) with type systems that contain domain specific substructural properties. Differing from Effects, Resources allows a language’s substructural properties to be encoded within type-level resources that are associated with language variables. Such an association allows for multiple effect instances to be reasoned about autonomically and without explicit type-level declaration. Type-level predicates are used as proof that the language’s substructural properties hold. Several exemplar EDSLs are presented that illustrates our framework’s operation and how dependent types provide correctness-by-construction guarantees that substructural properties of written programs hold.
ORCID iDs
Muijnck-Hughes, Jan de ORCID: https://orcid.org/0000-0003-2185-8543, Brady, Edwin C. and Vanderbauwhede, Wim;-
-
Item type: Article ID code: 86937 Dates: DateEvent12 June 2020Published8 April 2020AcceptedNotes: © Jan de Muijnck-Hughes, Edwin Brady, and Wim Vanderbauwhede; Funding This work was funded by EPSRC projects: Border Patrol: Improving Smart Device Security through Type-Aware Systems Design (EP/N028201/1); and Type-Driven Verification of Communicating Systems – EP/N024222/1. Subjects: Science > Mathematics
Science > Mathematics > Electronic computers. Computer scienceDepartment: Faculty of Science > Computer and Information Sciences
Faculty of Engineering > Electronic and Electrical EngineeringDepositing user: Pure Administrator Date deposited: 12 Oct 2023 07:49 Last modified: 11 Nov 2024 14:05 URI: https://strathprints.strath.ac.uk/id/eprint/86937