This paper reports on ongoing work to create a proof-carrying Domain Specific Embedded Language (DSEL) for diagrammatic logics, using Euler diagrams as a case study. The DSEL is written in Haskell with type system extensions that allow the exploitation of a combination of ideas from Constructive Type Theory. These extensions offer an increase in expressiveness over Hindley-Milner type systems and have been used for program verification. We use these extensions to create enhanced static constraints to enforce invariants on diagrams and transformations (inference rules). Our work is at an early stage and we describe the goals and challenges ahead. The major goal is to create a DSEL for generalized constraint diagrams, a visual logic expressive enough to be useful for modelling software, and to extract the types of the resulting diagrams for use as software artefacts.
|Title of host publication||European Summer School for Logic, Language and Information|
|Number of pages||10|
|Publication status||Published - 2008|
|Event||European Summer School for Logic, Language and Information - Hamburg, Germany|
Duration: 1 Jan 2008 → …
|Conference||European Summer School for Logic, Language and Information|
|Period||1/01/08 → …|