Source code for a C interpreter

bookbind@cfa.harvard.edu (Jay Bookbinder)
Sun, 19 Apr 1992 20:10:23 GMT

          From comp.compilers

Related articles
Source code for a C interpreter bookbind@cfa.harvard.edu (1992-04-19)
Re: Source code for a C interpreter maslen@eng.sun.com (1992-04-20)
Re: Source code for a C interpreter fred@cv.ruu.nl (1992-04-20)
Re: Source code for a C interpreter bliss@sp64.csrd.uiuc.edu (1992-04-20)
| List of all articles for this month |

Newsgroups: comp.compilers,comp.lang.c
From: bookbind@cfa.harvard.edu (Jay Bookbinder)
Keywords: C, interpreter, question
Organization: Smithsonian Astrophysical Observatory, Cambridge, MA, USA
Date: Sun, 19 Apr 1992 20:10:23 GMT

I am looking for C source code for a C interpreter that can handle
doubles, pointers to arrays of doubles, and pointers to pointers. I am
developing an application which is large and must be constantly modified.
Rather than have to modify the application each time its required and than
have to recompile, I want to merge the interpreter code into the
application so that I can access the customized source code, as needed,
without having to recompile. I am intending to modify the interpreter code
to allow the customized application to access the compiled codes variables
via tables of global pointers. If anyone has had experience in merging an
interpreter with a compiled application or knows of C source code for a C
interpreter that can handle doubles, pointers, etc., your help would be
appreciated.


Many thanks in advance,


Jay Bookbinder
--
Jay Bookbinder ++ INTERNET: bookbind@cfa.harvard.edu
Center for Astrophysics ++ Phone (617) 495-7058
60 Garden St. ++ FAX (617) 495-7356
[I've never seen a free C interpreter at all. Saber C (which now has some
other name but is produced by Centerline Software which is about a mile from
the CFA which is in turn three blocks from Compilers Central) is a high
quality C interpreter intended for debugging, but it's far from free.
Another possibility is to use the dynamic linking available on many Unix
workstations to load and unload compiled C code as needed. -John]
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.