Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #3536

Re: Which comes first, languages or compilers?

From Kaz Kylheku <864-117-4973@kylheku.com>
Newsgroups comp.compilers
Subject Re: Which comes first, languages or compilers?
Date 2023-10-26 21:46 +0000
Organization Compilers Central
Message-ID <23-10-009@comp.compilers> (permalink)
References <23-10-008@comp.compilers>

Show all headers | View raw


On 2023-10-25, gah4 <gah4@u.washington.edu> wrote:
> Not from a Quora question, but one did remind me.
>
> Which (well known) languages were mostly defined before the first
> compiler was written? (Not counting the one you did for a homework
> assignment.)

Lisp is one example. Definitions for interpreting it (not compiling)
were written by McCarthy on paper, in Lisp. Steve Russel realized that
you can translate that specification to machine code to get
a working implementation. At first McCarthy was famously taken aback,
thinking that Russel is working under some misconception: the document
is for people, not for the machine.

So it is very clear that the semantics of Lisp evaluation was first
defined in a document intended for human use, which turned out to be
susceptible hand-translation to an interpreter.

(Compiling followed not long after that; I think by around 1960
they were compiling it.)
--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca
NOTE: If you use Google Groups, I don't see you, unless you're whitelisted.
[Lisp was considerably more than McCarthy's paper design. The CAR and
CDR function names refer to the addresss and decrement parts of a
memory word on the IBM 704 which presumably did not come up before
they implemented it. -John]

Back to comp.compilers | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Which comes first, languages or compilers? gah4 <gah4@u.washington.edu> - 2023-10-25 12:39 -0700
  Re: Which comes first, languages or compilers? Kaz Kylheku <864-117-4973@kylheku.com> - 2023-10-26 21:46 +0000
  Re: Which comes first, languages or compilers? "minf...@arcor.de" <minforth@arcor.de> - 2023-10-27 03:19 -0700
  Re: Which comes first, languages or compilers? "Luke A. Guest" <laguest@archeia.com> - 2023-10-27 16:57 +0100
    Re: Which comes first, languages or compilers? Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2023-10-30 04:26 +0100
      Re: Which comes first, languages or compilers? OrangeFish9737 <OrangeFish9737@invalid.invalid> - 2023-10-30 10:02 -0400
      Re: Which comes first, languages or compilers? "Luke A. Guest" <laguest@archeia.com> - 2023-10-30 20:35 +0000
        Re: Which comes first, languages or compilers? Thomas Koenig <tkoenig@netcologne.de> - 2023-11-02 07:20 +0000

csiph-web