3 ms·
Cs ability to run on "unconventional" (though there is little unconventional about the Lisp Machine, it is a just a stack based machine) long predates C89 (spec
by amszmidt 2y ago
Cs ability to run on "unconventional" (though there is little unconventional about the Lisp Machine, it is a just a stack based machine) long predates C89 (specifically).
ZETA-C, a C compiler specific to the Lisp Machine, was already fully fledged by 1987 or there about. Don't have notes on when ZETA-C came to be, but it was much earlier than that, e.g., some of the headers are dated 1984.
One cool thing about ZETA-C was you could embed Lisp code in between C code:
extern FILE *stdin, *stdout, *stderr;
#lisp
;; We don't want this file to "own" these
(zeta-c:zclib>initialize-file-pointer |stdin| 0)
(zeta-c:zclib>initialize-file-pointer |stdout| 1)
(zeta-c:zclib>initialize-file-pointer |stderr| 2)
#endlisp