четверг, 18 августа 2022 г. в 20:30:31 UTC+5,
david...@gmail.com:
in the repository
https://github.com/nikitinprior/dcgen
files with .asm extension are Disassembled version and After compiling C source code. This repository is the first attempt to get the source code in C language. Further work has been done to fix bugs and fix the code. Especially for recovery, no special tools were used. All work was done by hand, relying on common sense. The compiler generates code using some rules. These rules were noticed and using them an attempt was made to recreate the source code. Completely documenting the re-creation process is quite a big and quite complex job. When recreating the compiler code, the task was not to describe the entire algorithm of the actions performed and teach someone to do such transformations. To solve such a problem requires desire, a lot of free time and painstaking work. For the compiler, this work is done. It may contain errors, which, having the source code, are now easier to detect and fix. The main result is the availability of source code, which prolongs the life of a good compiler and allows interested people to see how it was implemented. From my point of view, the task has been completed completely.