Date: Thu, 13 Nov 1997 22:38:23 -0800 (PST) Message-Id: <199711140638.WAA20769@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Eli Zaretskii , Roman Suzi From: Nate Eldredge Subject: Re: Runtime code generation ques Cc: djgpp AT delorie DOT com Precedence: bulk At 02:05 11/13/1997 +0200, Eli Zaretskii wrote: > >On Fri, 7 Nov 1997, Roman Suzi wrote: > >> Does anyone know if such mini-compiler is available for DJGPP (C/C++) >> in some of the libraries/packages? > >One place to look is the GNU bc package (v2gnu/bc103[sb].zip). It's >really a calculator, but it has a scripting language that can be used >to write functions. There is a program called `calc'. It's also a calculator (arbitrary-precision), but its syntax is very close to that of C. I'm not sure exactly where to find it, but here's a guess: ftp://ftp.uu.net/pub/calc/ It's written for Unix, but I hacked together a patch to let it compile and run under DJGPP. I can send it to you if calc seems promising once you look at it. (If all you want to do is take its guts, you probably won't need the patch. It just handles some Makefile and line-reading issues.) Nate Eldredge eldredge AT ap DOT net