Hell, my Ada brainf$$k interpreter for x86_64 Linux is 169K. If I didn't have to screw
around with ASCII/EBCDIC issues I would try to see how small a bf interpreter FORTRAN G
could generate.
I actually thought of trying to write a compiler in modern FORTRAN since I seem to be too
old to learn anything new, but the F90 and later language is so wierd and ugly (good
grief, lower case and indentation?! Sacrilege!) I decided against it.
I thought I had read one of the early IBM FORTRAN compilers was written in FORTRAN but the
G & H compilers appear to be in assembler like all the other OS/360 stuff.
SNOBOL4 and SPITBOL-360 for IBM are both written in assembler. SNOBOL4 is arguably written
in MINIMAL but the IBM implementation is assembler with heavy usage of macros. Whatever
the intermediate language is, at the end of the day it's an all assembler
implementation, like almost everything ever written for the mainframe.
I think part of SPITBOL is self-hosted but I haven't looked into it. I have the source
somewhere. Were earlier SNOBOL versions for IBM written in FORTRAN or was that only on
other platforms?
-----Original Message-----
From: "Chuck Guzis" <cclist at sydex.com>
Sender: cctalk-bounces at
classiccmp.org
Date: Tue, 03 Jan 2012 14:32:08
To: General Discussion: On-Topic and Off-Topic Posts<cctalk at classiccmp.org>
Reply-To: "General Discussion: On-Topic and Off-Topic Posts"
<cctalk at classiccmp.org>
Subject: Re: teaching programming to kids - Re: Looking for 8080/Z80 BASIC
On 3 Jan 2012 at 13:41, Richard wrote:
They're all turing equivalent, so you could write
the same thing in
Brainfuck as you could in FORTRAN, but I'm pretty sure you would
rather work in FORTAN 66. The same comparison works with modern
languages to put FORTRAN 66 on the losing side
So, who's gotten Scheme to run on a 4K PDP-8 with only an ASR-33 for
I/O?
How many languages were first written in FORTRAN? SNOBOL, for sure,
as well as PL/M. Several FORTRAN compilers that I know of were
written in FORTRAN for the most part. Quite a number of cross-
assemblers were also written in FORTRAN.
--Chuck