Write a Blog >>
Sun 22 - Fri 27 October 2017 Vancouver, Canada
Sun 22 Oct 2017 15:52 - 16:15 at Regency A - Session 4 Chair(s): Lindsey Kuper

In this talk, we present the insight that the practical concept of embedded domain-specific compilers (EDSC), describing embedded domain-specific languages (EDSL) used for generating code often for external targets, is deeply related to the theoretical concept of Normalisation-By-Evaluation (NBE), describing the process of deriving the canonical form of terms with respect to an equational theory. Since an embedded term is encoded as a collection of host language terms, evaluation of the non-value host terms results in normalisation of the embedded term, and since EDSCs rely on an intermediate interface to generate their target code from, all embedded terms are designed to eventually adhere to the normal forms described by the interface. In other words, the structure of an EDSC allows it to perform normalisation on embedded terms by encoding them as a collection of value and non-value host terms, employing evaluation in the host language, and then deriving the resulting terms adhering to the intermediate interface. This structure, together with a collection of correctness laws, forms an NBE process. This connection, referred to as embedding by normalisation (EBN), is theoretically useful in that it helps us to understand and reason about embedded terms and their semantics, and practically beneficial in that it enables us to directly apply techniques from NBE. For instance, through EBN, we adapt the treatment of sums, or constants, from NBE to embedding, resolving some not fully resolved problems.

Sun 22 Oct
Times are displayed in time zone: (GMT-07:00) Tijuana, Baja California change

15:30 - 17:00: DSLDI 2017 - Session 4 at Regency A
Chair(s): Lindsey KuperIntel Labs
dsldi-201715:30 - 15:52
Shrutarshi BasuCornell University, James GrimmelmannCornell Law School, Nate FosterCornell University
File Attached
dsldi-201715:52 - 16:15
Shayan NajdUniversity of Edinburgh
File Attached
dsldi-201716:15 - 16:37
Ted KaminskiUniversity of Minnesota, Eric Van WykUniversity of Minnesota, USA
File Attached
dsldi-201716:37 - 17:00
Day closing