>>>> "John" == John Foust
<jfoust at threedee.com> writes:
John> At 08:58 AM 5/9/2005, Paul Koning wrote:
> I believe the main reason is to make the code
smaller. P-code
> compilers have been used on the PDP-11 (the Algol compiler was
> ported there, and Fortran-4 was P-code). Basic-Plus is P-code of
> course, and so is Forth. Then there is UCSD Pascal.
John> I remember the Basic+ "decompiler"... but it was simply
John> detokenizing and not turning a p-code back into BASIC, was it?
I would assume so; going all the way back to BASIC would be rather
hard.
On the other hand, there was RT11 BASIC, which also used a compact
internal format, but that one was sufficiently close to the source
that a LIST command would reconstruct the source code from the
compacted internal form.
paul