Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site uwvax.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!uwvax!mcvoy
From: mcvoy@uwvax.UUCP (Larry Mcvoy)
Newsgroups: net.lang.c
Subject: stacks
Message-ID: <139@uwvax.UUCP>
Date: Wed, 6-Mar-85 16:49:01 EST
Article-I.D.: uwvax.139
Posted: Wed Mar  6 16:49:01 1985
Date-Received: Fri, 8-Mar-85 03:45:18 EST
Distribution: net
Organization: U of Wisconsin CS Dept
Lines: 16

I have come up with a problem that I'm hoping someone else has solved:

I'm writing a graphics program that includes an interpreted language. 
I'd like include the ability to add any Unix subroutine without having to 
modify the source.  In implementing this I came to a point where I had to build
a C stack and call the routine, rather than calling directly and letting the
compiler build the stack.  I've come up with a lot of kluges, mostly machine 
specific, and I rejected all of them.  

Has anyone out there come up against a similar problem and solved it in general?
Or do you have a really ``nice'' kludge?

Thanks in advance,

Larry McVoy		uucp:	...uwvax\!geowhiz\!lm
			arpa:	mcvoy@wisc-rsch.arpa