Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alhassy/next-700-module-systems

PhD research ;; What's the difference between a typeclass/trait and a record/class/struct? Nothing really, or so I argue.
https://github.com/alhassy/next-700-module-systems

agda canonical-structures coq emacs first-class-citizens haskell language lisp metaprogramming modules ocaml phd records typeclasses

Last synced: about 1 month ago
JSON representation

PhD research ;; What's the difference between a typeclass/trait and a record/class/struct? Nothing really, or so I argue.

Awesome Lists containing this project

README

        

The Next 700 Module Systems

Extending Dependently-Typed Languages to Implement Module System Features In The Core Language

This repository contains the research proposal for my doctoral studies at McMaster University
under the supervision of Jacques Carette and Wolfram Kahl.

*What are and what should be the module systems of DTLs?*
*DTLs remove distinctions between packaging systems and so*
*using pedestrian modules systems is not necessarily the best route.*

- A requirements driven approach to coherent modularisarion constructs in Dependently-typed languages.
- Main Question: *What are the module systems for Dependently-Typed Languages?*
- Goal: Extend Agda to be powerful enough to implement the module system features, in the core language, that people want to do.

In user facing libraries, [redundancies are desirable](https://inf.ug.edu.pl/~schwarzw/papers/mkm2010.pdf)
since they may utilise a a variety of aliases for what user want, this is useful
flexibility.

- However, in the source file, each item should only exist once.
- The front-end redundancy should be produced by machine generation,

rather than by hand.

◈ [Website](https://alhassy.github.io/next-700-module-systems/) ◈

A super simple description of this work, for the layman, can be found [here](https://alhassy.github.io/three_minutes/).

Prototype and a Preprint

◈ [Prototype](./prototype/package-former.html)
◈ [MathScheme: 200+ Math Theories in (Clickable) Agda](./prototype/html/math-scheme-generated.html)
◈ [A Language Feature to Unbundle Data at Will](./papers/gpce19_a_language_feature_to_unbundle_data_at_will.pdf)
◈ [Slides](https://alhassy.github.io/next-700-module-systems/papers/GPCE2019_unbundle_slides.pdf)
◈ [Youtube](https://youtu.be/xLHgN0dOZ6E)

![](./papers/gpce19-mousing-over.png)

The Context Library ---An Agda Counterpart of the PackageFormer Prototype


◈ [PhD Thesis](./thesis.pdf) ; [Youtube](https://youtu.be/hTQG2QbBPhA)
◈ [Slides](./phd-defence.pdf)
◈ AIM 2020: [Youtube](https://youtu.be/lSIFM5lhnWc); [Slides](./diy/agda-implementors-meeting-2020.html)

Proposal

◈ [PDF](./proposal/thesis-proposal.pdf)
◈ [HTML](./proposal/thesis-proposal.html)
◈ [Slides](./proposal/defence-slides.html)
◈ [`translate` code](./proposal/translate_functions.agda.html)
◈ [`monoid` code](./proposal/monoid_renditions.agda.html)
◆ [Demo](https://www.youtube.com/watch?v=NYOOF9xKBz8&feature=youtu.be)

Related

◈ [Metaprogramming Agda --- IFIP Program Generation Talk ](./papers/JC_Program_Generation_Talk_IFIP.pdf)