delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/14/01:40:06

Date: Thu, 13 Nov 1997 22:38:23 -0800 (PST)
Message-Id: <199711140638.WAA20769@adit.ap.net>
Mime-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>,
Roman Suzi <nuser AT rsuzi DOT pgu DOT karelia DOT ru>
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Runtime code generation ques
Cc: djgpp AT delorie DOT com

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 -


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