Linux.com

Re:Non-GNU Free C compilers...

Posted by: Anonymous Coward on April 13, 2004 06:02 AM
Small C... I added anonymous functions to the 6809 port I did, just for the hell of it:

i = ${ int j;<nobr> <wbr></nobr>.... return j; }

It was limited, but it was not that far from the pre-V7 language (K&R1) and it had some advantages over the V6 K&R compiler. It was certainly far better than most of the 8-bit languages available at the time, and later versions of it passed the Allman compiler and the V7 K&R compiler in some areas.

Remember that the alternatives were things like BCPL (only one data type, the 32-bit word) and assembler.

#

Return to Free but shackled: The Java trap