Here are some small toy programs that demonstrates how different aspects of compilers are working.