This is an article about creating a instruction generator for Delphi instructions as part of Revendepro. What I do here is make a sort of report of what I did, why I did it etc. I'll be making this while working on the project, so don't be surprised if something great idea I had doesn't work, or when I suddenly decide that the way I didn't isn't the right and I go rewriting everything.
Also not everything mentioned in the text matches the code, because I later changed something. So this isn't meant to be complete explanation of the source code, but more as an explanation of the techniques I used for reconstruct pascal.
Part 1: Some basics.
Part 2: Real Pascal.