From: "Paul Cechner" Newsgroups: comp.os.msdos.djgpp References: <200009141606 DOT LAA19381 AT darwin DOT sfbr DOT org> Subject: Re: pass C source to program binary? Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Fri, 15 Sep 2000 08:53:58 +0800 NNTP-Posting-Host: 203.24.93.65 X-Complaints-To: abuse AT telstra DOT net X-Trace: nsw.nnrp.telstra.net 968979118 203.24.93.65 (Fri, 15 Sep 2000 11:51:58 EST) NNTP-Posting-Date: Fri, 15 Sep 2000 11:51:58 EST Organization: Customer of Telstra Big Pond Direct To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com sounds like a lex and yacc job to me. (or flex and bison, if you are gnu to this... ugh) -- note: spam resistant email ---------------------- Paul Cechner Damian Yerrick wrote in message news:eeh2sskv2r59fcm4fbg9h60ntrth68gouc AT 4ax 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/