Re: [Mono-dev] Can Mono Compiler as Service compile classes?

2010-09-13 Thread robr
I found the answer in the mono file mcs\mcs\repl.txt: * Supporting class-level declarations Currently the evaluator has this feature disabled, to enable it edit the eval.cs file and make this be the default: - parser.Lexer.putback_char =

Re: [Mono-dev] Can Mono Compiler as Service compile classes?

2010-09-13 Thread Miguel de Icaza
I was wondering can the Mono Compiler as a Service compile classes? I tried but I get a parse error. Would it be hard for me to modify it to compile classes? (I am using v2.8 on top of ms .net 4.0) It does not, it is only for expressions and statements. The parser work is done (so the REPL

[Mono-dev] Can Mono Compiler as Service compile classes?

2010-09-12 Thread robr
The Mono.CSharp.dll compiler service is awesome, thank you. I was wondering can the Mono Compiler as a Service compile classes? I tried but I get a parse error. Would it be hard for me to modify it to compile classes? (I am using v2.8 on top of ms .net 4.0) Thanks, Rob -- View this