[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: records as s-expressions
From: |
Rob Browning |
Subject: |
Re: records as s-expressions |
Date: |
Thu, 16 Oct 2003 16:51:14 -0500 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
Thamer Al-Harbash <address@hidden> 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
Re: records as s-expressions,
Rob Browning <=