\myheading{Introduction}

A modern-day compiler is a product of hundreds of developer/year.
At the same time, toy compiler can be an exercise for a student for a week (or even weekend).

Likewise, commercial decompiler like Hex-Rays can be extremely complex,
while toy decompiler like this one, can be easy to understand and remake.

The following decompiler written in Python, supports only short basic blocks, with no jumps.
Memory is also not supported.

