Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
`'#@, s-expression syntax
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tim Johnson  
View profile  
 More options Mar 7 2006, 9:58 pm
Newsgroups: comp.lang.lisp
From: Tim Johnson <t...@johnsons-web.com>
Date: Wed, 08 Mar 2006 02:58:45 -0000
Local: Tues, Mar 7 2006 9:58 pm
Subject: `'#@, s-expression syntax
Tried googling the following:
`'#@,
Not too much luck.
I could just use to pointers to URLs or docs on these symbols.
Also, keywords that refer to them
Thanks
Tim
--
Tim Johnson <t...@johnsons-web.com>
      http://www.alaska-internet-solutions.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Warnock  
View profile  
 More options Mar 7 2006, 10:42 pm
Newsgroups: comp.lang.lisp
From: r...@rpw3.org (Rob Warnock)
Date: Tue, 07 Mar 2006 21:42:35 -0600
Local: Tues, Mar 7 2006 10:42 pm
Subject: Re: `'#@, s-expression syntax
Tim Johnson  <t...@johnsons-web.com> wrote:
+---------------
| Tried googling the following:
| `'#@,
| Not too much luck.
+---------------

Because Google *deletes* such "punctuation" from search terms!!  :-{

+---------------
| I could just use to pointers to URLs or docs on these symbols.
+---------------

First go find some version of the CLHS ("Common Lisp HyperSpec"), e.g.:

    http://www.lispworks.com/reference/HyperSpec/Front/index.htm

Then click on the "Master Index" icon, then on the "Non-Alphabetic"
link, and browse the left-most character on each line.

But before you do that, you might find it more helpful to obtain a
somewhat higher-level view of the Common Lisp reader:

    http://www.lispworks.com/documentation/HyperSpec/Body/02_b.htm
    2.2 Reader Algorithm
    This section describes the algorithm used by the Lisp reader to
    parse objects from an input character stream, including how the
    Lisp reader processes macro characters.  ...

    http://www.lispworks.com/documentation/HyperSpec/Body/02_d.htm
    2.4 Standard Macro Characters

    http://www.lispworks.com/documentation/HyperSpec/Body/02_dh.htm
    2.4.8 Sharpsign

-Rob

-----
Rob Warnock                     <r...@rpw3.org>
627 26th Avenue                 <URL:http://rpw3.org/>
San Mateo, CA 94403             (650)572-2607


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alan Crowe  
View profile  
 More options Mar 8 2006, 5:23 am
Newsgroups: comp.lang.lisp
From: Alan Crowe <a...@cawtech.freeserve.co.uk>
Date: 08 Mar 2006 10:23:46 +0000
Local: Wed, Mar 8 2006 5:23 am
Subject: Re: `'#@, s-expression syntax

Then have a play at the REPL

#' and ' are abbreviations, but the data denoted by the
abbreviations are printed out in using abbreviations, so you
cannot see what they are abbreviations for. Turning off the
pretty printer with :pretty nil gets round this.

CL-USER> (defparameter form (read))
(#'(setf foo) `(this that))
FORM

CL-USER> (write form :pretty nil)
((FUNCTION (SETF FOO)) (QUOTE (THIS THAT)))
(#'(SETF FOO) '(THIS THAT))

Some input needs to be accompanied by escape characters to
stop it being processed in the default manner. When the
input is printed out again, the printer adds the escape
characters back in. This is good because it permits
round-tripping: you can print things out and read them back
in. This is bad because you cannot see your actual input: it
comes out decorated with escape characters. Turning off the
escaping with :escape nil helps you see what is going on.

CL-USER> (defparameter strings-and-symbols (read))
("ab\"cd" |foo| foo)
STRINGS-AND-SYMBOLS

CL-USER> (write strings-and-symbols :escape nil)
(ab"cd foo FOO)
("ab\"cd" |foo| FOO)

Alan Crowe
Edinburgh
Scotland


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Johnson  
View profile  
 More options Mar 8 2006, 11:58 am
Newsgroups: comp.lang.lisp
From: Tim Johnson <t...@johnsons-web.com>
Date: Wed, 08 Mar 2006 16:58:37 -0000
Local: Wed, Mar 8 2006 11:58 am
Subject: Re: `'#@, s-expression syntax
 Thanks a lot...
 Much obliged.
 tim

On 2006-03-08, Alan Crowe <a...@cawtech.freeserve.co.uk> wrote:

--
Tim Johnson <t...@johnsons-web.com>
      http://www.alaska-internet-solutions.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
William Bland  
View profile  
 More options Mar 8 2006, 12:14 pm
Newsgroups: comp.lang.lisp
From: William Bland <doctorbill.n...@gmail.com>
Date: Wed, 08 Mar 2006 17:14:16 GMT
Local: Wed, Mar 8 2006 12:14 pm
Subject: Re: `'#@, s-expression syntax

On Tue, 07 Mar 2006 21:42:35 -0600, Rob Warnock wrote:
> Tim Johnson  <t...@johnsons-web.com> wrote:
> +---------------
> | Tried googling the following:
> | `'#@,
> | Not too much luck.
> +---------------

> Because Google *deletes* such "punctuation" from search terms!!  :-{

LispDoc also does rather badly with these (although not as badly as
Google).  No reason why I can't improve it though - I've added this to the
TODO list.

Best wishes,
        Bill.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »