A compiler for educational reasons