Miguel de Icaza wrote:

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?)

I am not sure about what lives in Microsoft.CSharp; But what lives in
Microsoft.VisualBasic is runtime support.
Microsoft.CSharp has the following classes:
* Compiler : Managed wrapper for the C# compiler.
* CompilerError : Represents an error or diagnostic message reported by the compiler.
* CSharpCodeProvider : Provides access to instances of the C# code generator and code compiler.

Microsoft.VisualBasic contains
* VBCodeProvider : Provides access to instances of the Visual Basic code generator and code compiler.

So I was wondering if/how mcs and mbas use 'their' *CodeProvider classes
(but this might be my misunderstanding - since I just noticed the documentation doesn't have all Microsoft.* documentation in the same place - the VisualBasic 'runtime' is documented in a different space compared to the CodeProviders)

`AddTwoThings' is just a helper function. And the whole assembly is
packed with helper functions that the compiler uses.

C# uses very very very few helper functions from assemblies.

Ok, we will  need to look if JScript also needs helper functions like these.

ps. how are we going to name the mono JScript compiler?

`janet' or `jsc' for the command line compiler sounds good.
Hmm.. will jsc conflict with the already present jsc (on Windows)
I thought the 'leading' m was common practice for the 'mono' compilers :)
---
Jeroen


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to