This is a copy of the progress decompiler I posted on PEG around 1995 with a few minor bugfixes applied. The decompiler is written in C and is not the best example of my programming (it is a bit of a mess). The decompiler is definitly Alpha (if that) software.
The decompiler does not and never will produce the exact input programs. Comments are not stored in R-code. In version 6, I believe that it is impossible to always work out which variables belong to which variable names.
This version still does not often produce code which will directly compile however it will produce a frame work from which you can produce code equivalent to the original.
The program still has lots of bugs or areas for major improvement, in particular:
The decompiler is written for progress version 6 and due significant changes to r-code structure (segments) will not work on later versions.
I have some notes regarding later versions which I will add to this site in the future.
Copyright of the decompiler:
This decompiler is made available under the GNU GENERAL PUBLIC LICENSE
Version 2, June 1991. Please see the file COPYING which should be
located with the source code.
Other copyrights:
It should be obvious, but there are legal restrictions
to decompiling software for which you do not own source code rights.
If you do not know what these restrictions are you should talk to
a lawyer who specialises in intellectual property rights.
Warranty:
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Grant Maizels
grant@maizels.nu
www.maizels.nu/grant
January 1999.