Re: Execution of a program in scripting language?

Robin Holmes <rangsynth@gmail.com>
Wed, 20 Jan 2010 00:53:12 -0800 (PST)

          From comp.compilers

Related articles
Execution of a program in scripting language? pengyu.ut@gmail.com (Peng Yu) (2010-01-18)
Re: Execution of a program in scripting language? dot@dotat.at (Tony Finch) (2010-01-19)
Re: Execution of a program in scripting language? rangsynth@gmail.com (Robin Holmes) (2010-01-20)
Re: Execution of a program in scripting language? cr88192@hotmail.com (BGB / cr88192) (2010-01-21)
Re: Execution of a program in scripting language? arnold@skeeve.com (2010-01-21)
Re: Execution of a program in scripting language? kamalpr@gmail.com (kamal) (2010-02-08)
Re: Execution of a program in scripting language? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2010-02-10)
| List of all articles for this month |
From: Robin Holmes <rangsynth@gmail.com>
Newsgroups: comp.compilers
Date: Wed, 20 Jan 2010 00:53:12 -0800 (PST)
Organization: Compilers Central
References: 10-01-059
Keywords: interpreter
Posted-Date: 21 Jan 2010 00:59:19 EST

You will be wanting to see the ECMAScript specification which can tell
you step by step how to build a script compiler. For some example
source code of various script engines, go to www.code.google.com/p/juke
and download the juke source code. The compiler there has no running
example but if you browse into the code to the vm/mod/sx folder you
will find some file like jsParser and that might help you. Check out
the root parser and the expression parsing if you are able.


Actually a really good reference is also the ECMA335 specification
from ECMA. Can tel lyou how to make a VM.


Peng Yu wrote:
> I'm looking for some references on how a scripting program run so that
> I can understand the runtime behavior better. But I don't find such a
> reference. For example, I checked Programming Language Pragmatics by
> Michael L. Scott. It seems only mentioned the programming language
> that needs compilation.
>
> Could somebody pointing me some reference on how a script is executed
> so that I can understand the runtime behavior better?


Post a followup to this message

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