Kind of cheating because Kernighan literally labels it as beautiful. It's Rob Pike's implementation of Ken Thomson's regex matcher.
https://www.cs.princeton.edu/courses/archive/spr09/cos333/be...
https://www.cs.princeton.edu/courses/archive/spr09/cos333/be...
No comments yet.