[plt-scheme] no #!eof
On Apr 14, 2008, at 7:50 PM, Dave Herman wrote:
>> If EOF has a printed representation, what is the reader to do if
>> it encounters it in a file?
>
> Hee hee! Don't know why I didn't think of this. Like putting '\0'
> characters in C strings, duh.
You can put as many '\0's as you like in C strings like in:
char a_buffer_of_five_null_chars[] = "\0\0\0\0";
The C reader should not have a problem reading '\0' just like how a
Scheme reader should not have a problem reading #!eof (in principle).
Aziz,,,