Re: A brash newbie question on macrology

From: james anderson (james.anderson_at_setf.de)
Date: 12/18/03


Date: Thu, 18 Dec 2003 23:51:22 +0100


Tayssir John Gabbour wrote:
>
> Peter Seibel <peter@javamonkey.com> wrote in message news:<m3fzfjb597.fsf@javamonkey.com>...
> > From a technical point of view, it's impossible in current Lisps
> > because because s-expressions are represented as singly-linked lists;
> > there's no pointer to the parent.
>
> Guy Steele mentioned a notation where sexprs could be treated as a
> graph:
> http://www.ai.mit.edu/~gregs/ll1-discuss-archive-html/msg03504.html
>
> Then parent-operating macros would be possible since you can refer to
> a parent, no? I can't find reference to this in any book I have
> though.
>

it seems very much like http://www.lispworks.com/reference/HyperSpec/Body/02_dho.htm.

it is not clear whether this puts even the stout of heart in a position to
express the relations which such parent operating macros would require. not to
mention the compiler.

...



Relevant Pages

  • Re: AfxBeginThread question
    ... This comes as a serioius surprise to those of us who take AfxBeginThread for granted ... The last parameter, which is a pointer, would be written as NULL. ... On request to exit parent app, parent app notifies thread to close ... thread-shutdown object in as one of the fields of your parameter block. ...
    (microsoft.public.vc.mfc)
  • [PATCH 4/4] docbook: fix filesystems content
    ... Fix filesystems docbook warnings. ... a pointer to a string containing the name of the file to create. ... * @parent: a pointer to the parent dentry for this file. ...
    (Linux-Kernel)
  • [PATCH v4 7/8] debugfs: allow access to signed values
    ... debugfs: ... a pointer to a string containing the name of the file to create. ... * @parent: a pointer to the parent dentry for this file. ... * This function will return a pointer to a dentry if it succeeds. ...
    (Linux-Kernel)
  • [PATCH v5 7/8] debugfs: allow access to signed values
    ... debugfs: ... a pointer to a string containing the name of the file to create. ... * @parent: a pointer to the parent dentry for this file. ... * This function will return a pointer to a dentry if it succeeds. ...
    (Linux-Kernel)
  • Re: connection points?
    ... >> interface into the children. ... When the parent dies, the children die as well so this ... > What if the client still holds an interface pointer of the element? ...
    (microsoft.public.win32.programmer.ole)