Mail Archives: djgpp/1997/11/14/01:40:06
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
- Raw text -