Re: Techniques for writing an interpreter

"W. Craig Trader" <ct7@mitre.org>
15 Mar 1998 00:27:50 -0500

          From comp.compilers

Related articles
Techniques for writing an interpreter simon@magnorth.nildram.co.uk (Simon Chapman) (1998-03-06)
Re: Techniques for writing an interpreter Nick.Roberts@dial.pipex.com (Nick Roberts) (1998-03-08)
Re: Techniques for writing an interpreter adrian@dcs.rhbnc.ac.uk (1998-03-12)
Re: Techniques for writing an interpreter ct7@mitre.org (W. Craig Trader) (1998-03-15)
Re: Techniques for writing an interpreter fjh@cs.mu.OZ.AU (1998-03-15)
Re: Techniques for writing an interpreter psu@jprc.com (Peter Su) (1998-03-18)
Re: Techniques for writing an interpreter hgg9140@heckle.ca.boeing.com (1998-03-18)
Re: Techniques for writing an interpreter henry@zoo.toronto.edu (Henry Spencer) (1998-03-18)
Re: Techniques for writing an interpreter dhansen@btree.com (1998-03-18)
Re: Techniques for writing an interpreter dent@cs.tu-berlin.de (Pierre Mai) (1998-03-18)
[22 later articles]
| List of all articles for this month |
From: "W. Craig Trader" <ct7@mitre.org>
Newsgroups: comp.compilers
Date: 15 Mar 1998 00:27:50 -0500
Organization: The MITRE Corporation
References: 98-03-032 98-03-098
Keywords: interpreter

Simon Chapman (simon@magnorth.nildram.co.uk) wrote:
    : All I really want to do is create an interpreter for my simple
  : scripting language. Does anyone have any suggestions as to where I
  : should start? Any pointers would be greatly appreciated.


A Johnstone wrote:
> Has anyone else noticed that everytime somebody asks a question like
> this they get a load of responses saying - don't write another
> language, use TCL (or something else). It comes to something when the
> comp.compilers community is telling people not to write language
> translators... ;-)


It's not that the comp.compilers community is opposed to developing
more/newer languages, it's just that (as opposed to 5 years ago) there
are quite a few freely available plug-in languages, languages which
were designed to be used as control languages for other environments.
Python and TCL are probably the best candidates, but there are at
least a half dozen other languages which can be easily adapted. Given
that these tools exist, and that they solve 90% of the problems that
generally encourage people to write languages, why not use them and
save the effort for the hard stuff?


Of course, it could be that we're just tired of learning
yet-another-extension-language. During my career I've learned over 60
distinct programming languages, most of which I've used for one
specific task, for a relatively short period of time. I'm really not
that interested in having someone foist another write-only language on
me ... I guess I must be getting old.


- Craig -
--
W. Craig Trader, Senior Internet Engineer <ct7@mitre.org>
--


Post a followup to this message

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