Skip to content

conal/talk-2020-calculating-compilers-categorically

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiling gracefully

Alternative title: Calculating compilers categorically

Talk for Haskell Love 2020.

Links:

Abstract:

This talk revisits the classic exercise of compiling a programming language to a stack-based virtual machine. The main innovation is to factor the exercise into two phases: translation into standard a algebraic vocabulary, and a stack-oriented interpretation of that vocabulary. The first phase is independent of stack machines and has already been justified and implemented in a much more general setting. The second phase captures the essential nature of stack-based computation simply and generally, giving rise to a collection of simple, uniform algebra problems whose solution is a compiler.

Releases

No releases published

Packages

No packages published