Idris’ Effects library demonstrates how to embed resource
dependent algebraic effect handlers into a dependently typed host
language, providing run-time and compile-time based reasoning on
type-level resources. Building upon this work, RESOURCES is a
framework for realising Embedded Domain Specific Languages (EDSLs)
with type systems that contain domain specific substructural
properties. Differing from Effects, RESOURCES allows a
language’s substructural properties to be encoded within type-level
resources that are associated with language variables. Such an
association allows for multiple effect instances to be reasoned
about autonomically and without explicit type-level declaration.
Type-level predicates are used as proof that the language’s
substructural properties hold. Several exemplar EDSLs are presented
that illustrates our framework’s operation and how dependent types
provide correctness-by-construction guarantees that substructural
properties of written programs hold.
I am very pleased to announce that my paper describing a framework
for constructing Resource Dependent EDSLs in a Dependently Typed
Language was accepted to ECOOP
2020.
Many of you may have seen this from the conference website itself, and I was waiting until the camera ready copy was produced to properly publicly announce.
This was joint
work with Wim Vanderbauwhede, and Edwin Brady.
Idris’ Effects library demonstrates how to embed resource
dependent algebraic effect handlers into a dependently typed host
language, providing run-time and compile-time based reasoning on
type-level resources. Building upon this work, RESOURCES is a
framework for realising Embedded Domain Specific Languages (EDSLs)
with type systems that contain domain specific substructural
properties. Differing from Effects, RESOURCES allows a
language’s substructural properties to be encoded within type-level
resources that are associated with language variables. Such an
association allows for multiple effect instances to be reasoned
about autonomically and without explicit type-level declaration.
Type-level predicates are used as proof that the language’s
substructural properties hold. Several exemplar EDSLs are presented
that illustrates our framework’s operation and how dependent types
provide correctness-by-construction guarantees that substructural
properties of written programs hold.
On Wednesday 17 July, 2019 I will be at ECOOP 2019 presenting my work on constructing a type-system for hardware interfaces.
This was joint work with Wim Vanderbauwhede as part of the Border Patrol project.
To promote good academic practise (and inspired my Matthew Green’s blogging), I will describe the work here.
Think of this post, and my talk on Wednesday, as an extended abstract.
If you are interested then you should read the paper, it has all the gory details.
I am very pleased to announce that my paper describing a type-system for hardware interfaces was accepted to ECOOP 2019.
This was joint work with Wim Vanderbauwhede as part of the Border Patrol project.
Modern Systems-on-a-Chip (SoC) are constructed by composition of IP
(Intellectual Property) cores. There are well described interaction
protocols for communication between IP Cores. However, there is a
disconnect between the machine readable specification of these
protocols and the verification of their implementation in known
hardware description languages. Although tools can be written to
address such a separation of concerns, such tooling is often hand
written and used to check hardware designs a posteriori. We have
developed a dependent type-system and proof-of-concept modelling
language to reason about the physical structure of hardware
interfaces respective to user provided descriptions. Our type-system
provides correct-by-construction guarantees that the interfaces on
an IP Core will be well-typed if they adhere to a specified
standard.