I have some compiled codes, very simple and very similar to C language. I want to reverse them to source codes to study the mechanism behind the machine codes. The API of this simple language is largely available to everyone doing coding with it. Is there any readings can demonstrate construction of a decompiler from scratch? Parsing files, this should be a nice job for Perl. Helps appreciated.