From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: interpreting C ??? Date: 6 Mar 2001 20:30:22 GMT Organization: Aachen University of Technology (RWTH) Lines: 21 Message-ID: <983hcu$d4p$1@nets3.rz.RWTH-Aachen.DE> References: <3A9D5EC9 DOT CE9D100C AT t-online DOT de> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 983910622 13465 137.226.32.75 (6 Mar 2001 20:30:22 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 6 Mar 2001 20:30:22 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Kai Dietrich wrote: > Hi! > Is there a QBasic like interpreter for the C (C++?) language written > with GCC aviable (with sourcecode)? If not, do you think it is possible > to write one (I'm thinking heavily about this and I already had some > ideas how to realize it)? Writing a C interpreter is one of the longest standing open projects listed by the GNU project, on their website. AFAIK, no progress has been achieved in a long while. By nature, C is not a very interpreter-friendly language. Elements that cause this include the preprocessor, complicated data structures, and recursive function calls. If you really want to dig into this, I'd recommend a text book on compiler construction and the comp.compilers newsgroup (they deal with interpreters, too, despite of the name). -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.