[comp.lang.misc] self generating programs

mpl@sfsup.UUCP (07/02/87)

In article <2045@enea.UUCP>, sommar@enea.UUCP (Erland Sommarskog) writes:
> Which reminds of a Pascal compiler written at the University of Copenhagen
> for Univac 1100. If you forgot to give it file to compile, it answered:
> "No input, blockhead. Try again, this time with a program."

Our PL/C compiler at Polytech had a feature like that.  If you sent it an
empty job (JCL but no program) it would say missing "proc options" and
make one, then say "missing end" and make one of them, generating a null
program for you!