delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/14/17:45:32

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: pass C source to program binary?
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <eeh2sskv2r59fcm4fbg9h60ntrth68gouc@4ax.com>
References: <200009141606 DOT LAA19381 AT darwin DOT sfbr DOT org>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
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
<jeffw AT darwin DOT sfbr DOT org> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019