Scoped and typed staging by evaluation
Tools
Allais, Guillaume (2024) Scoped and typed staging by evaluation. Other. arXiv, Ithaca, N.Y.. (https://doi.org/10.48550/arXiv.2310.13413)
Preview |
Text.
Filename: Allais-arXiv-2024-Scoped-and-typed-staging.pdf
Final Published Version License: ![]() Download (819kB)| Preview |
Abstract
Using a dependently typed host language, we give a well scoped-and-typed by construction presentation of a minimal two level simply typed calculus with a static and a dynamic stage. The staging function partially evaluating the part of a term that are static is obtained by a model construction inspired by normalisation by evaluation. We then go on to demonstrate how this minimal language can be extended to provide additional metaprogramming capabilities, and to define a higher order functional language evaluating to digital circuit descriptions.
ORCID iDs
Allais, Guillaume
-
-
Item type: Monograph(Other) ID code: 87893 Dates: DateEvent11 January 2024Published20 October 2023Published OnlineNotes: As submitted to PEPM 2024 Subjects: Science > Mathematics > Electronic computers. Computer science Department: UNSPECIFIED Depositing user: Pure Administrator Date deposited: 24 Jan 2024 15:29 Last modified: 09 Mar 2025 01:02 URI: https://strathprints.strath.ac.uk/id/eprint/87893
CORE (COnnecting REpositories)