From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: records as s-expressions Date: Thu, 16 Oct 2003 16:51:14 -0500 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87fzhs6ect.fsf@raven.i.defaultvalue.org> References: <87llrxcan4.fsf@zagadka.ping.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066341175 7937 80.91.224.253 (16 Oct 2003 21:52:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2003 21:52:55 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Oct 16 23:52:53 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAG3B-0005UP-00 for ; Thu, 16 Oct 2003 23:52:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAG2C-0004kd-LR for guile-devel@m.gmane.org; Thu, 16 Oct 2003 17:51:52 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AAG28-0004kG-Gh for guile-devel@gnu.org; Thu, 16 Oct 2003 17:51:48 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AAG1c-00042k-NM for guile-devel@gnu.org; Thu, 16 Oct 2003 17:51:47 -0400 Original-Received: from [66.93.216.237] (helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAG1c-00040d-AE for guile-devel@gnu.org; Thu, 16 Oct 2003 17:51:16 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 972533FCA; Thu, 16 Oct 2003 16:51:14 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 6921E2CF057; Thu, 16 Oct 2003 16:51:14 -0500 (CDT) Original-To: Thamer Al-Harbash In-Reply-To: (Thamer Al-Harbash's message of "Thu, 16 Oct 2003 00:40:30 -0400 (EDT)") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2888 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2888 Thamer Al-Harbash 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