Generic Description of Well-Scoped, Well-Typed Syntaxes

03/31/2018
by   Gergő Érdi, et al.
0

We adapt the technique of type-generic programming via descriptions pointing into a universe to the domain of typed languages with binders and variables, implementing a notion of "syntax-generic programming" in a dependently typed programming language. We present an Agda library implementation of type-preserving renaming and substitution (including proofs about their behaviour) "once and for all" over all applicable languages using our technique.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/29/2020

A Type and Scope Safe Universe of Syntaxes with Binding: Their Semantics and Proofs

Almost every programming language's syntax includes a notion of binder a...
research
11/03/2022

Revisiting Language Support for Generic Programming: When Genericity Is a Core Design Goal

Context: Generic programming, as defined by Stepanov, is a methodology f...
research
12/15/2021

Simulating Large Eliminations in Cedille

Large eliminations provide an expressive mechanism for arity- and type-g...
research
02/01/2019

Semantic Query Integration With Reason

Graph-based data models allow for flexible data representation. In parti...
research
09/24/2017

Anonymous Variables in Imperative Languages

In this paper, we bring anonymous variables into imperative languages. A...
research
01/20/2017

Using LLVM-based JIT Compilation in Genetic Programming

The paper describes an approach to implementing genetic programming, whi...
research
06/19/2017

Generic Approach to Certified Static Checking of Module-like Constructs

In this paper we consider the problem of certified static checking of mo...

Please sign up or login with your details

Forgot password? Click here to reset