A more thorough typed verified stack machine compiler, ex from ch 2.2 in CPDT