Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!purdue!bu.edu!bu-cs!m2c!wpi!greyelf From: greyelf@wpi.wpi.edu (Michael J Pender) Newsgroups: comp.sys.apple Subject: Re: C on the apple Message-ID: <6883@wpi.wpi.edu> Date: 18 Jan 90 03:47:11 GMT References: <6695@wpi.wpi.edu> <12647@cbnewsd.ATT.COM> <6761@wpi.wpi.edu> Reply-To: greyelf@wpi.wpi.edu (Michael J Pender) Organization: Worcester Polytechnic Institute, Worcester ,MA Lines: 36 In article pnakada@oracle.com (Paul Nakada) writes: >Any HyperC hackers care to add? Not just yet, but I'm working on it. > >Small C. This is my favorite. This compiler is for people already >familiar with both C and 6502 assembly, because it is the perfect too >for learning the basics of compiler design. Small C is an extremely >limited subset of C. I has one two data types, int and pointer. Both >occupy the same number of bytes (in Orca Small C 4 bytes) Source code >for the compiler is provided and is portable to much more powerful >machines. It compiles to p-code, which when assembling using the orca >assembler, compiles to p-code codes or straight 6502. The orca >environment provides a linker to link program segments (which can be >mixed between C, assembly, and any other compiler for the orca >environment) > >prodos compatible, very flexible, and most important, educational. >I have ported the compiler to a Sun 4, so modifications to the >compiler are trivial. Compile time on the Sun is under 2 seconds. >assembly time on my 8 mhz //c is considerably longer. Does Orca work on the IIe? I've got a thought, but it would mean a lot of work, an assembler/c compiler. The original code written in c on a different machine, and cross compiled or some such. I don't know enough about c to do this myself, but I could write an editor for inclusion in the package. Basically I'm asking if it would be reasonable for us, the net community to take on the project of trying to write a freeware c compiler. Any takers? --- Michael J Pender Jr Box 1942 c/o W.P.I. ... (Mankind) has already greyelf@wpi.bitnet 100 Institute Rd. used its last chance. greyelf@wpi.wpi.edu Worcester, Ma 01609 - Gen. MacArthur