This talk extends upon early talks to the MSP Group, FP-StAnd Group, and PL Interest groups, with an even more complete picture of the language and how it is used.
Sadly, this talk won’t be Chalk&Talk, and a more conventional slidedeck will be used.
I’ve finally found a round tuit down the back of the sofa and worked out how to a) use arXiv for publishing preprint eprints, and b) publishing a short note on collecting dependently typed values.
The work stems from a short note I wrote in the appendix of my PhD thesis, which in turn originated as a blog post.
It is not necessarily novel work, or worthy of publication at a workshop, but thought I would share nonetheless.
This extends upon my talk from March to the FP-Group at
St Andrews with a more complete picture of the language and how it is
used. Sadly, this talk won’t be Chalk&Talk, and a more conventional slidedeck will be used.
If tempted, I may do live programming.
The protocols that describe the interactions between IP Cores on
System-on-a-Chip (SoC) architectures are well-documented. Describing
not only the structural properties of the physical interfaces but also
the behaviour of the emanating signals. However, there is a disconnect
between the design of SoC architectures, their formal description, and
the verification of their implementation in known hardware description
languages.
I submitted a paper entitled Fake it until they make it: Implementing Substructural Type-Systems for EDSLs using Dependent Types to Type-Driven Development ‘18
I have decided to uploaded the abstract here so that my attempt is a least indexable by the great machine spirit in the web—Hallowed be thy API.
Given time I will also upload a copy of the paper to ArXiV.
The paper’s abstract was:
Many substructural type-systems are presented for general purpose
languages, reasoning about structural rules referencing memory
access, and variable usage. When looking to design Embedded Domain
Specific Languages (EDSLs) we utilise the host language’s
functionality to reason about, and provide, domain specific
properties. If the host language does support substructural typing,
the substructural rules are specific to the general purpose host
language. We build upon existing work that utilises parameterised
monads and dependent types when implementing substructural
type-systems for EDSLs where the host language does not support
omain specific, nor customisation of, substructural type-systems. We
extend this work to use De Bruijn indices as proofs of existence
that a language’s substructural properties hold. Further, we present
two exemplar languages that illustrate the technique’s core
principles and how dependent types provide correctness guarantees
that our EDSL programs are well-typed.
This extends upon my talk from February to the MSP Group at
Strathclyde with a more complete picture of the language and how it is
used. Sadly, this talk won’t be Chalk&Talk, and a more conventional slidedeck will be used.
If tempted, I may do live programming.
The protocols that describe the interactions between IP Cores on
System-on-a-Chip (SoC) architectures are well-documented. These
protocols described not only the structural properties of the physical
interfaces but also the behaviour of the emanating signals. However,
there is a disconnect between the design of SoC architectures, their
formal description, and the verification of their implementation in
known hardware description languages.
In February, I gave a talk about my work on the Border
Patrol at the University of
Strathclyde’s, School of Computing and Information Sciences MSP
101.
This was a fun talk to prepare and deliver as the MSP101 talks are
traditionally Chalk&Talk. Hopefully, I was able to convince the
group that I was working on something interesting.
The protocols that describe the interactions between IP Cores on
System-on-a-Chip architectures are well-documented. These protocols
described not only the structural properties of the physical
interfaces but also the behaviour of the emanating signals. However,
there is a disconnect between the design of SoC architectures, their
formal description, and the verification of their implementation in
known hardware description
languages.
This week, I gave a talk about my work on the Border
Patrol at the Autumn 2017 session of
SPLS.
The Border Patrol Project seeks to investigate how state-of-the-art
advances in programming language theory can provide better
guarantees towards System-On-Chip (SoC) design and
execution. Specifically we are interested in extending existing work
on structural type systems for SoC with that of Multi-Party Session
Types and Dependent Types.
In this talk I will: briefly discuss the goals of the Border Patrol
Project; outline some of the design challenges we have encountered
so far when looking to adapt multi-party session types for
describing hardware; and demonstrate how dependent types help reason
about the structure of SoC architectures.
This week, I gave a talk about my work with Edwin Brady at University
of St Andrews, whilst visiting Imperial College London for the Border
Patrol Project. The talk was an extended version of my FP-Dag Talk,
which was a revamp of my SPLS talk.
There is a disconnect between the tooling used to design, implement and
reason about communication protocols and their implementations. Session
Types are a typing discipline that help resolve this difference by
allowing protocol specifications to be used during type-checking to
ensure that implementations adhere to a given specification.
I submitted a paper entitled Type-Driven Development of Communicating Systems to ICFP ‘17.
I have decided to uploaded the abstract here so that my attempt is a least indexable by the great machine spirit in the web—Hallowed be thy API.
Given time I will also upload a copy of the paper to ArXiV.
The paper’s abstract was:
Communication protocols are a cornerstone of modern system design.
However, there is a disconnect between the tooling used to design,
implement and reason about these protocols and their
implementations. Session Types offer a typing discipline that helps
resolve this difference by allowing protocol specifications to be
used during type-checking, ensuring that implementations adhere to a
given specification. Session Type implementations are limited in
their expressiveness in protocol design and implementation.
Last week, I gave a talk about my work
at FP Dag ‘17https://msp-strath.github.io/spls-16/) at the annual meeting of
functional programmers in the Netherlands. This year the meeting was
in Nijmegen at the RU, where I did my Masters. Although I am not
resident anymore in the Netherlands, I used the oppurtunity to talk
about my work to an international audience, and to see old friends.
The talk is a slight revamp of my SPLS talk.