From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: pass C source to program binary? Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <200009141606 DOT LAA19381 AT darwin DOT sfbr DOT org> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 17 X-Trace: /w3Za+El9Vxc6esukoRvH7hj4M57suM4NlECpeKmz4bJx3EaNAq8jKBGlD+DuaT41IgSyQ9KJF3C!st2pt6qwCQPUQ1Rc4d4pzIvvXBTM37dT3tb+U3lvfo3D1RfVYgbaJ+F+aswLRW8K12/NpCNgx5z8!Ehs= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Thu, 14 Sep 2000 21:41:05 GMT Distribution: world Date: Thu, 14 Sep 2000 21:41:06 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 14 Sep 2000 11:07:42 -0500 (CDT), Jeff Williams wrote: >Is there a obvious technique for passing the source code for a small C >function (e.g., `for (i=1;i<=N;i++) y[i]=foo(x[i]);'), which might be in >a file or passed via command-line, to an already-compiled C program and >have that program be able to interpret and use the function internally? Write an interpreter for a C-Like Language. It shouldn't be that hard. -- tiddly-day interj. (used to express agreement.) [American cellphone lingo] This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/