rs@hou3c.UUCP (users) (08/17/84)
<> Ok All of you Forth-ites, I have a question... Does anyone believe that a "C" compiler can be written in Forth??? If so, does anyone know of one? Bob Switzer AT&T Bell Labs
smd@cvl.UUCP (Stanley Dunn) (08/19/84)
Pascal has be written in Forth, and Forth, Inc. has produced an Ada compiler in Forth.
dave.e@proper.UUCP (08/19/84)
< eat this, little buggies > Why not, there's a public domain pascal written in Forth. I've heard of people writting versions of BASIC, LISP, PROLOG, and other stuff in Forth. I've never heard of someone writing a version of C though. It wouldn't be terribly portable if it were a compilier. P-Code would probably be best way to do it. No, I'm not volunteering to write one. /Dave Edick/ ...!hplabs!amd!proper!dave.e ...!ucbvax!dual!proper!dave.e
toma@tekchips.UUCP (Tom Almy) (08/20/84)
Sure a "C" compiler could be written in Forth. But why would a Forth user want a "C" compiler? :-) I have written a true Forth compiler in Forth, and have seen threaded code compilers for Pascal and BASIC. I don't see any reason that "C" couldn't be done as well.