[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 are here. Eventually, the entire history will be moved there, including any new messages.



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
numbers.