Re: Interpreter design

Juan Carlos Gil Montoro <jcgil@gmv.es>
19 Jan 2001 23:21:24 -0500

          From comp.compilers

Related articles
Interpreter design jcgil@gmv.es (Juan Carlos Gil Montoro) (2001-01-11)
Re: Interpreter design basile.starynkevitch@wanadoo.fr (Basile STARYNKEVITCH) (2001-01-18)
Re: Interpreter design ian@jawssystems.com (2001-01-18)
Re: Interpreter design kszabo@nortelnetworks.com (Kevin Szabo) (2001-01-18)
Re: Interpreter design steck@rice.edu (2001-01-18)
Re: Interpreter design gsc@zip.com.au (Sean Case) (2001-01-19)
Re: Interpreter design gvmt@localhost.vsnl.net.in (Venkatesha Murthy) (2001-01-19)
Re: Interpreter design jcgil@gmv.es (Juan Carlos Gil Montoro) (2001-01-19)
Re: Interpreter design guerby@acm.org (Laurent Guerby) (2001-01-19)
Re: Interpreter design neelk@alum.mit.edu (2001-01-19)
Re: Interpreter design anton@mips.complang.tuwien.ac.at (2001-01-20)
Re: Interpreter design nr@labrador.eecs.harvard.edu (2001-01-26)
Re: Interpreter design sdm7g@minsky.med.virginia.edu (Steven D. Majewski) (2001-02-01)
| List of all articles for this month |
From: Juan Carlos Gil Montoro <jcgil@gmv.es>
Newsgroups: comp.compilers
Date: 19 Jan 2001 23:21:24 -0500
Organization: GMV SA
References: 01-01-059 01-01-075
Keywords: interpreter, design
Posted-Date: 19 Jan 2001 23:21:24 EST

Basile STARYNKEVITCH wrote:
> If you do want to make a new langage, first study lots of existing
> languages and existing implementations....
>
> In short, the best strategy to implement an interpreter is to not do
> it.
>
> Perhaps you could use or extend an existing implementation... Why not
> use Ocaml, Scheme, Tcl, Python, Perl, Ruby, etc....?


    Thanks for the advice but I do need to create a special-purpose language.


> Do you need to embed an interpreter inside an application (or do the
> reverse: embed your application inside an interpreter).


    My aplication must run programs in that language, pause them, abort
    them, you get the idea.


> Perhaps you could translate your language to an existing bytecode
> interpeter (such as Ocaml's, or JVM, or VSCM, ....).


    But then I would not have the fine control over running programs that
    I need, in particular I must be able to pause and resume running programs.


Juan Carlos---


Post a followup to this message

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