unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Heime <heimeborgia@protonmail.com>
Cc: Heime via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Subject: RE: [External] : Definition of a sexp
Date: Wed, 8 Jan 2025 23:54:14 +0000	[thread overview]
Message-ID: <DS7PR10MB5232E996DD9DF659633CA209F3122@DS7PR10MB5232.namprd10.prod.outlook.com> (raw)
In-Reply-To: <xYIgUh1sPblPLWS_kzv1PtaaFlPMn6tNpzNTJg0ahyLv6krfiaN98Qwr4UZZoAlWw7lMxNAGuman1T2AV2iLp-M2h93c-4mrtJPLftSDRpc=@protonmail.com>

> Can one then state that a sexp is either a balanced parenthetical
> grouping, a string, or a symbol, that is subject to evaluation?

I already told you what a sexp is, and why "basically"
is used there - it just means there that those are
important kinds of sexps.

IOW, that's not an exhaustive list.  It might have added
"a number" and "a vector" to the list, as other important
kinds of atom.

What "basically" does NOT mean there is that there are
lists, strings, or symbols that aren't sexps.  Of course
you can pick nits such as representations of lists,
strings, and symbols within comments or inside strings,...

A sexp is a cons or an atom.  That's the whole story.
Read the rest of what I wrote or pointed you to, if you
want details.

  reply	other threads:[~2025-01-08 23:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-08 19:30 Definition of a sexp Heime via Users list for the GNU Emacs text editor
2025-01-08 21:12 ` [External] : " Drew Adams
2025-01-08 22:04   ` Heime via Users list for the GNU Emacs text editor
2025-01-08 23:54     ` Drew Adams [this message]
2025-01-09 23:06       ` uzibalqa via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DS7PR10MB5232E996DD9DF659633CA209F3122@DS7PR10MB5232.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=heimeborgia@protonmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).