Write your own tiny programming system(s)!
Wondering how to write your own programming language or an interactive programming system? In this course, you learn how fundamental programming language techniques, algorithms and systems work by writing their miniature versions. The course is made out of six modules, each looking at one langauge or system idea. It covers functional (TinyML and TinyHM), imperative (TinyBASIC), object-oriented (TinySelf) and end-user programming (TinyExcel).
This is a hands-on course. Each lecture starts with a few videos that provide background and explain key concepts. After watching the videos, the source code for each lecture gives you a basic structure of the language or system and tasks that you have to go through to implement the working language or system. There are also a few bonus problems for those interested in doing more!
The course uses the F# langauge, partly because I like F# and partly because F# is a great fit for the material. The course does not assume that you know F# already. Most of the tasks use simple algebraic data types (unions) and recursive functions and a few extra tricks are covered in the videos.
I ran this course in-person at Charles University in 2023/24 and 2025/26 and we're now using some of the ideas in the Principles of Programming Languages course.






















