Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!dogie!uwvax!astroatc!nicmad!madnix!rat From: rat@madnix.UUCP (David Douthitt) Newsgroups: comp.os.cpm Subject: Re: Small C Summary: Capabilities Message-ID: <564@madnix.UUCP> Date: 23 Mar 89 01:17:47 GMT References: <8903201146.AA00867@ucbvax.Berkeley.EDU> <15990@oberon.USC.EDU> Reply-To: rat@madnix.UUCP (David Douthitt) Distribution: usa Organization: ARP Software, Madison, WI Lines: 53 In article <15990@oberon.USC.EDU> mlinar@eve.usc.edu (Mitch Mlinar) writes: | | Yep, the documentation is quite clear in what it has as well as what it | is missing. Items *NOT* supported in SmallC v1.2 are: | | - for | - do/while | - switch/case/default | - multiple dimension arrays | - goto | - float (although it does support double) | - structures | - unions | - multiple indirections (two or more * such as **i) | - assignment operators (+= -= *= etc.) | - storage classes | - precompiler stuff other than #define/#include/#asm/#endasm | - declaring a function AND its function type in the same line | (e.g. double foo(i) int i; /* will not work */) | - probably other things too | | For a free compiler and a learning tool (you get the source code), it | is pretty decent. The current version of Small C is AT LEAST 2.1 - and it DOES support: - for - do/while - switch/case/default - goto - assignment operators (+= -= *= etc.) - precompiler stuff including: #define #include #ifdef #ifndef #else #endif #asm #endasm - int foo(i) int i; /* DOES work - or should */ Version 2.1 is a considerably better version than 1.x - I'm surprised there are any 1x implementations anywere. [david] -- ======== David Douthitt :::: Madison, WI :::: The Stainless Steel Rat ======== FidoNet: 1:121/2 ::::: WittiNet: "Curiouser and curiouser, said Alice." :::::: UseNet: ...{rutgers|ucbvax|harvard}!uwvax!astroatc!nicmad!madnix!rat ArpaNet: madnix!rat@cs.wisc.edu {decvax|att}!