Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

To downgrade the human mind is bad theology. -- C. K. Chesterton


devel / comp.lang.lisp / Re: How to implement property list

SubjectAuthor
o Re: How to implement property liststeve gonedes

1
Re: How to implement property list

<58d538e6-abe1-4350-af73-78a1bb83b05cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16650&group=comp.lang.lisp#16650

  copy link   Newsgroups: comp.lang.lisp
X-Received: by 2002:a37:9244:: with SMTP id u65mr25321199qkd.46.1627441570165; Tue, 27 Jul 2021 20:06:10 -0700 (PDT)
X-Received: by 2002:a9d:4f09:: with SMTP id d9mr17294023otl.265.1627441569946; Tue, 27 Jul 2021 20:06:09 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.lisp
Date: Tue, 27 Jul 2021 20:06:09 -0700 (PDT)
In-Reply-To: <5f58894e$0$10271$e4fe514c@news.xs4all.nl>
Injection-Info: google-groups.googlegroups.com; posting-host=184.102.209.181; posting-account=J7s-KQoAAABxnJDbN-3ZlYayYdnHhWkr
NNTP-Posting-Host: 184.102.209.181
References: <5f58894e$0$10271$e4fe514c@news.xs4all.nl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <58d538e6-abe1-4350-af73-78a1bb83b05cn@googlegroups.com>
Subject: Re: How to implement property list
From: sgonedes1977@gmail.com (steve gonedes)
Injection-Date: Wed, 28 Jul 2021 03:06:10 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 23
 by: steve gonedes - Wed, 28 Jul 2021 03:06 UTC

On Wednesday, September 9, 2020 at 3:50:44 AM UTC-4, none albert wrote:
> I finally understand that property lists are much more
> essential to lisp than I thought. Also it seems that
> different properties may not at all be related even if they
> happen to apply to the same symbol.
>
> A naive approach for implementation is :
> - assuming a symbol has a token (probably a memory address or an index)
> - assuming a property has a name.

Yes, a symbol is like a data structure. It has slots (as we call them in lisp). One slot if the symbol-name, one slot for the function code, (function-lambda-expression #'fn-name) => will print the code.

Same with documentation.

ex:

; SLIME 2.26.1
CL-USER> (documentation 'list 'function)
"Construct and return a list containing the objects ARGS."
CL-USER> (documentation 'list 'variable)
NIL

cl-user >


devel / comp.lang.lisp / Re: How to implement property list

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor