John Foust wrote:
I remember the Basic+ "decompiler"... but it
was simply detokenizing
and not turning a p-code back into BASIC, was it?
- John
There were Basic+ decompilers that would produce normal basic+
programs as output. All your comments and formatting would be
lost. They usually had problems with strange items like implied
'until's, but usually did a good job.
I actually used a couple of versions. Very useful for those programs
where the source code was lost.
One version I used would notice if you tried to decompile itself,
and would output
PRINT ''Type "?" for Help'
PRINT "[]"; \ GET \ FIELD RECOUNT AS A$
DECOMPILE A$
END