Re: Need general guidelines and book suggestions

David Fletcher <dcf@hpfcla.fc.hp.com>
30 Sep 1997 16:30:57 -0400

          From comp.compilers

Related articles
Need general guidelines and book suggestions A.Christofides@hydro.civil.ntua.gr (Anthony Christofides) (1997-09-15)
Re: Need general guidelines and book suggestions laheadle@cs.uchicago.edu (Lyn A Headley) (1997-09-23)
Re: Need general guidelines and book suggestions ulf.samuelsson@nsc.com (Ulf Samuelsson) (1997-09-23)
Re: Need general guidelines and book suggestions henry@zoo.toronto.edu (Henry Spencer) (1997-09-28)
Re: Need general guidelines and book suggestions lhf@csg.uwaterloo.ca (1997-09-30)
Re: Need general guidelines and book suggestions dcf@hpfcla.fc.hp.com (David Fletcher) (1997-09-30)
Re: Need general guidelines and book suggestions mslamm@pluto.mscc.huji.ac.il (Zvi Lamm) (1997-10-02)
Re: Need general guidelines and book suggestions shankar@powertelglobal.com (Shankar Unni) (1997-10-08)
| List of all articles for this month |

From: David Fletcher <dcf@hpfcla.fc.hp.com>
Newsgroups: comp.compilers.tools.pccts,comp.compilers
Date: 30 Sep 1997 16:30:57 -0400
Organization: Hewlett-Packard Fort Collins Site
References: 97-09-057 97-09-076
Keywords: interpreter

Lyn A Headley <laheadle@cs.uchicago.edu> writes:


> don't write your own language!
>
> Other existing extension languages are Scheme (mzscheme is a good
> implementation, available from Rice university for free.) and Lua,
> the smallest, simplest, fastest non-scheme extension language.
>
> and in case you didn't reread your own post, John the moderator
> suggested Python and (ick) Tcl. And I guess (ick) Perl is an option
> too. personally, I would choose either Python or Lua, depending on
> your needs.


You should check out SWIG (Simple Wrapper and Interface Generator ---
or something like that). Check out ftp.cs.utah.edu:/pub/beazley/SWIG.


This is a very nice tool for building extension language interfaces to
C/C++ systems. I've used it for the last year. It doesn't do
everything I want, but I want a lot, so that's ok. What it does do,
it does well. It builds interfaces to perl4, perl5, tcl, guile (GNU
scheme), and python, and has an experimental code writer to create an
interface to java. David Beazley, the author, is quite prolific, and
I think there might some interesting things planned for the future.


Hope this helps.


--
David Fletcher dcf@fc.hp.com
ESL, Hewlett-Packard
Ft. Collins, CO aequam serva mentem,
303.690.4309 or 970.229.4970 comprime linguam
--


Post a followup to this message

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