[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finalize or withdraw?

This page is part of the web mail archives of SRFI 56 from before July 7th, 2015. The new archives for SRFI 56 contain all messages, not just those from before July 7th, 2015.

Alex Shinn <alexshinn@xxxxxxxxx> writes:

> The library style of reading and writing single different sized numbers
> at a time is especially well suited to such applications as writing a
> portable assembler.  However, an assembler invariably needs to read and
> write strings within the binary data, and SRFI-56 provides no portable
> means to do this.  

An assembler does not write strings "within the binary data".
Remember, a string is a sequence of characters, not a sequence of
encodings.  Assemblers need to write specific numbers in specific
places, not "strings"; that is, they need control over the coding
used.  Which means they should encode the characters, and then write