Affiliation:
1. Northeastern University, USA / PLT Group, USA
2. Northeastern University, USA
3. University of British Columbia, Canada
Abstract
We present Turnstile+, a high-level, macros-based metaDSL for building dependently typed languages.
With it, programmers may rapidly prototype and iterate on the design of new dependently typed features and extensions.
Or they may create entirely new DSLs whose dependent type ``power'' is tailored to a specific domain.
Our framework's support of language-oriented programming also makes it suitable for experimenting with systems of interacting components, e.g., a proof assistant and its companion DSLs.
This paper explains the implementation details of Turnstile+, as well as how it may be used to create a wide-variety of dependently typed languages, from a lightweight one with indexed types, to a full spectrum proof assistant, complete with a tactic system and extensions for features like sized types and SMT interaction.
Funder
National Science Foundation
Natural Sciences and Engineering Research Council of Canada
Publisher
Association for Computing Machinery (ACM)
Subject
Safety, Risk, Reliability and Quality,Software
Reference53 articles.
1. 2017. RFC: The pi type trilogy. https://github.com/rust-lang/rfcs/issues/1930 2017. RFC: The pi type trilogy. https://github.com/rust-lang/rfcs/issues/1930
2. Type-Based Termination, Inflationary Fixed-Points, and Mixed Inductive-Coinductive Types
3. ΠΣ: Dependent Types without the Sugar
4. Foundations of path-dependent types
Cited by
8 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Compiled, Extensible, Multi-language DSLs (Functional Pearl);Proceedings of the ACM on Programming Languages;2024-08-15
2. Robust Finger Interactions with COTS Smartwatches via Unsupervised Siamese Adaptation;Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology;2023-10-29
3. ExEl: Building an Elaborator Using Extensible Constraints;The 35th Symposium on Implementation and Application of Functional Languages;2023-08-29
4. Beyond Notations: Hygienic Macro Expansion for Theorem Proving Languages;Logical Methods in Computer Science;2022-04-13
5. Extracting the power of dependent types;Proceedings of the 20th ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences;2021-10-17