layout: microblog
title: Single-file implementations of programming languages
headline: Single-file implementations of programming languages
tags: [programming]
date: 2020-02-21 00:00:00
---

[This repository](https://github.com/marcpaq/b1fipl) contains many
examples of single-file implementations of programming languages.  I
love [this one from Peter Norvig](http://www.norvig.com/lispy.html).
He builds a semi-practical **Scheme interpreter in Python 3**.

As he says, the beauty of Scheme is that the full language only needs
5 keywords and 8 syntactic forms.

*"If you don't know how compilers work, then you don't know how computers work."* - Steve Yegee
