comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not>
Subject: Re: Java and Python have just discovered "record" type finally after 40 years.
Date: Sun, 14 May 2023 18:56:27 +0200	[thread overview]
Message-ID: <u3r3rr$2k5j4$1@dont-email.me> (raw)
In-Reply-To: <878rdrrlly.fsf@bsb.me.uk>

On 2023-05-14 17:14, Ben Bacarisse wrote:
> 
> I never saw a LISP S-expressions defined that way.  Did this list really
> no have a "dotted pair" as the basic structure with lists being simply a
> special case?

The book I learned from (/Let's Talk LISP/ by Laurent Siklóssy, 1976) introduces 
dotted pairs in chapter 10.7.1 (out of 12 chapters) on page 145 (out of 213, 
excluding appendices and index). Chapter 10 deals with the internal 
representation of data in LISP. The implication is that they were not considered 
part of the normal use of the language.

S-expressions, on the other hand, are introduced in chapter 1.1 on page 2. The 
book also presents the grammar

S-expression ::= atom | list
list ::= '(' inside ')'
inside ::= empty | S-expression | S-expression inside
empty ::=

-- 
Jeff Carter
"Don't knock masturbation. It's sex with someone I love."
Annie Hall
45

  reply	other threads:[~2023-05-14 16:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-12 17:50 Java and Python have just discovered "record" type finally after 40 years Nasser M. Abbasi
2023-05-12 18:58 ` richardthiebaud
2023-05-12 21:33 ` Jeffrey R.Carter
2023-05-13  7:13   ` Niklas Holsti
2023-05-13 11:18     ` Luke A. Guest
2023-05-13 16:53       ` Niklas Holsti
2023-05-14  6:46         ` J-P. Rosen
2023-05-14  7:20           ` Nasser M. Abbasi
2023-05-14  9:49             ` Luke A. Guest
2023-05-14  9:43           ` Luke A. Guest
2023-05-14  9:45           ` Luke A. Guest
2023-05-14 10:29           ` Niklas Holsti
2023-05-14 10:37           ` Ben Bacarisse
2023-05-14 10:39           ` Jeffrey R.Carter
2023-05-14 15:10             ` J-P. Rosen
2023-05-14 15:14             ` Ben Bacarisse
2023-05-14 16:56               ` Jeffrey R.Carter [this message]
2023-05-15  1:11                 ` Ben Bacarisse
2023-05-15 10:44                   ` Jeffrey R.Carter
2023-05-17  0:24                     ` Ben Bacarisse
2023-05-14 12:46           ` Bill Findlay
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox