Compiler Coffee Club - Interning Cyclic Types in a Compiler


See https://github.com/SeaOfNodes/Simple and https://github.com/cliffclick/aa.

This example at the beginning of type-checking a parser record structure is reminiscent of the problem of typing/sorting higher-order polyadic π-calculus. See Using Pipewire to Make A Music Synthesizer. I think there is some maths by Grothendeick that should help, see Category of elements in Wikipedia and Grothendieck construction in nLab. There is a use-case in David MacQueen's model of  types of higher-order functors: see David Macqueen's A Semantics for Higher-order Functors (1997) and Higher-order modules and the phase distinction by Harper, Mitchell and Moggi:

The hard part is probably deciding on what is the most useful phase distinction to introduce.

Subscribe to Cliff Click.

Comments

Popular posts from this blog

Steven Johnson - So You Think You Know How to Take Derivatives?

Welsh Republic Podcast Talking With Kars Collective on Armenia Azerbaijan Conflict

Daniel Tubbenhauer on The Riemann Hypothesis and Prime Counting