unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Rob Browning <rlb@defaultvalue.org>
Cc: guile-devel@gnu.org
Subject: Re: records as s-expressions
Date: Thu, 16 Oct 2003 16:51:14 -0500	[thread overview]
Message-ID: <87fzhs6ect.fsf@raven.i.defaultvalue.org> (raw)
In-Reply-To: <Pine.BSF.4.58.0310160030340.3176@helena.whitefang.com> (Thamer Al-Harbash's message of "Thu, 16 Oct 2003 00:40:30 -0400 (EDT)")

Thamer Al-Harbash <tmh@whitefang.com> writes:

> Would it be reasonable to just use (read-hash-extend) to hook
> into the existing reader, and as well as modify existing
> boot-9.scm code cause records to (display) as #S(...)?
>
> If I went with the SRFI-10 solution I'd be implementing this as a
> (record-serialize) (record-unserialize) which seem a bit less
> Schemeish to me.

I think I might rather go with the SRFI since that means any records
written have a much greater possibility of being able to be parsed by
other schemes, or at least a much greater possibility that other
schemes can be taught how to parse them without modifying the
implementation, and unless we're going to try to come up with some
kind of record standard, it might even make sense to use something
like #,(scmrec ...), that's more guile-specific than "record".

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


  parent reply	other threads:[~2003-10-16 21:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-18  2:07 records as s-expressions Thamer Al-Harbash
2003-10-07 15:47 ` Marius Vollmer
2003-10-08  4:05   ` Rob Browning
2003-10-16  4:40   ` Thamer Al-Harbash
2003-10-16 19:43     ` Marius Vollmer
2003-10-16 19:59       ` Thamer Al-Harbash
2003-10-16 20:14         ` Thamer Al-Harbash
2003-10-16 20:48         ` Marius Vollmer
2003-10-16 21:40           ` Paul Jarc
2003-11-13  0:08             ` Marius Vollmer
2003-10-16 21:09         ` Neil Jerram
2003-10-16 21:56           ` Thamer Al-Harbash
2003-10-16 21:51     ` Rob Browning [this message]
2003-10-17  6:43       ` Neil Jerram

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/guile/

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

  git send-email \
    --in-reply-to=87fzhs6ect.fsf@raven.i.defaultvalue.org \
    --to=rlb@defaultvalue.org \
    --cc=guile-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.
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).