[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11198: problems reading data with a "read-hash-extend" registered re
From: |
Noah Lavine |
Subject: |
bug#11198: problems reading data with a "read-hash-extend" registered reader |
Date: |
Tue, 24 Apr 2012 07:24:18 -0400 |
Hello,
>> I think the reader should only return valid Scheme objects that have a
>> read syntax (info "(r5rs) Lexical Structure"), and records are not among
>> them.
>
> I agree, FWIW.
This seems like circular logic to me - extending the reader should
mean that new types can have read syntax. The problem here, I think,
is that the compiler also needs to know how to serialize those types.
Why don't we provide an interface to define a serializer as well as a
reader, and have compile-assembly use these serializers? As long as
each type has both a serializer and a reader, it should work fine.
That also feels symmetrical, which I take as a good sign. :-)
Noah
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Klaus Stehle, 2012/04/08
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Ludovic Courtès, 2012/04/09
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Klaus Stehle, 2012/04/11
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Mark H Weaver, 2012/04/11
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Klaus Stehle, 2012/04/11
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Mark H Weaver, 2012/04/22
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Ludovic Courtès, 2012/04/22
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Andy Wingo, 2012/04/24
- bug#11198: problems reading data with a "read-hash-extend" registered reader,
Noah Lavine <=
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Noah Lavine, 2012/04/24
- bug#11198: problems reading data with a "read-hash-extend" registered reader, Ludovic Courtès, 2012/04/24