Structured Fortran - was Re: Self modifying code, lambda calculus
toby at telegraphics.com.au
Thu Sep 24 08:16:20 CDT 2015
On 2015-09-24 3:04 AM, ben wrote:
> On 9/23/2015 11:22 PM, Eric Smith wrote:
>> ISO/IEC 9899:1999(E) §3.6 ¶1 - a byte has to hold any member of the
>> basic character set
>> ISO/IEC 9899:1999(E) §3.7.1 ¶1 - a character is a C bit representation
>> that fits in a byte
>> ISO/IEC 9899:1999(E) §188.8.131.52.1 ¶1 - the size of a char is CHAR_BIT
>> bits, which is at least 8
>> ISO/IEC 9899:1999(E) §184.108.40.206 ¶2-4 - everything other than bitfields
>> consists of bytes
> Bla Bla Bla ...
> What happened to seven bit ASCII?
> I think the major change in C from the OTHER programing languages
> is BYTE addressing. Even Pascal from what I have seen packs characters
> in words of some kind. That is main dividing line in how memory
> can be accessed. char *ptr++ vs array(foo-1)
Depends on the Pascal. Apple chose (Object) Pascal as its principal
systems and applications programming language for at least a decade
(Lisa, 68K Mac, etc), and its memory addressing capabilities, in
particular byte arrays, were equivalent to C's. Many other Pascals had
similar extensions (I seem to recall Turbo Pascal did).
> 0-99 can hold a trimmed character set and 10 digits per int.
> 5 chars per word sounds right on decimal machine.
> Logic operations would be on the digit rather the binary
> level. This may not be standard C but I has the early
> PDP 11 C feel if they I developed UNIX on decimal machine.
More information about the cctech