[Mono-list] Javascript and Mono

Jeroen Janssen japj@xs4all.nl
Mon, 06 Jan 2003 18:05:25 +0100


Miguel de Icaza wrote:

>>I was wondering, could this be used to implement Microsoft.JScript?
>>    
>>
>
>That would be the plan (part of the requirements that I mentioned before
>are aimed at this: have a Reflection.Emit backend, make the compiler and
>make the JScript compiler embeddable class)
>  
>
*sigh* I just recently (today :) realised there is also a Javascript 
compiler for .NET.

Looking at the .NET class libraries & compilers (and what's in mono CVS) 
I see the following:

Microsoft.CSharp/JScript/VisualBasic/Vsa/Win32

Is it correct to assume that Microsoft.CSharp/JScript/VisualBasic contain:
* runtime for JScript and VisualBasic
* compilation / code generation classes (for all)

So the strategy would be to use the code generation classes in a 
compiler, right?
If so, is this being done yet? (and why is Microsoft.VisualBasic and 
Microsoft.CSharp not in the same parent directory?)

I assume the Microsoft.VisualBasic/CSharp/JScript will function in a 
similar way, is that correct? (is there code in CSharp/VisualBasic we 
can re-use for JScript?)

ps. how are we going to name the mono JScript compiler?
ps2. I assume we are also prototyping this compiler in the janet module 
(so I need to add new directories)?
---
Jeroen