Re: Execution of a program in scripting language?

"BGB / cr88192" <cr88192@hotmail.com>
Thu, 21 Jan 2010 06:27:39 -0700

          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: "BGB / cr88192" <cr88192@hotmail.com>
Newsgroups: comp.compilers
Date: Thu, 21 Jan 2010 06:27:39 -0700
Organization: albasani.net
References: 10-01-059 10-01-066
Keywords: interpreter
Posted-Date: 21 Jan 2010 14:52:14 EST

"Robin Holmes" <rangsynth@gmail.com> wrote in message
> 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.
>


I may need to look at this later in my case (could be interesting).


in my case, personally I could make little sense of the ECMAScript
spec in the past. then again, my implementations tend to work a bit
differently internally than in the spec (using built-in types and a
Scheme-like typesystem instead of the implied object-based one, ...).




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


ECMA-335 is about the .NET CLI/CTS though...
implementing this seems a little "extreme" for implementing ECMAScript.


granted, if one wants a general-purpose VM, 335 is a good bet.



Post a followup to this message

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