unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: emacs-devel@gnu.org
Subject: Re: fadr
Date: Mon, 22 Jun 2009 18:14:45 +0200	[thread overview]
Message-ID: <873a9sz1my.fsf@ambire.localdomain> (raw)
In-Reply-To: <87zlc0s3np.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 22 Jun 2009 11:12:58 -0400")

() Chong Yidong <cyd@stupidchicken.com>
() Mon, 22 Jun 2009 11:12:58 -0400

   Unless there is some overriding reason, I think the GDB-MI
   project should drop the fadr dependency.  If you need a way to
   interface easily with nested structures, I suggest using Common
   Lisp structures, i.e. the `defstruct' macro which has been in
   cl-macs.el for a long time.

I would also suggest looking at bindat.el, which is adept at wire
to tree to wire (unpacking/packing) operations for (possibly
nested) fixed-width data types.  If we already have a tree,
`bindat-get-field' tweaked or extended is preferable to
`fadr-member' stunted or recast.

Put another way, i'd rather see:

  (bindat-get-field/searching basket 'apples 1 'color)

than:

  (fadr-member basket ".apples[1].color")

Insert Perlis quote re strings, here....

thi




  reply	other threads:[~2009-06-22 16:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-22 15:12 fadr Chong Yidong
2009-06-22 16:14 ` Thien-Thi Nguyen [this message]
2009-06-22 19:56   ` fadr Dmitry Dzhus
2009-06-23  9:14     ` fadr Thien-Thi Nguyen
2009-06-22 16:27 ` fadr Dmitry Dzhus
2009-06-22 16:39   ` fadr Chong Yidong
2009-06-22 18:24   ` fadr Glenn Morris
2009-06-22 21:57     ` fadr Dmitry Dzhus
2009-06-24 21:33       ` fadr Stefan Monnier
2009-06-23  5:54     ` fadr Nick Roberts
2009-06-22 21:38 ` fadr Dmitry Dzhus
2009-06-23  5:47 ` fadr Nick Roberts

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=873a9sz1my.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).