public void CompilesHelloWorld()
 {
     var options = new Options() { Output = "hello.exe", Verbose = true };
     options.AddInput("hello.ceylon");
     var compiler = new RoslynCompiler();
     compiler.Compile(options);
 }
 public void CompilesSimpleClass()
 {
     var options = new Options() { Output = "simpleclass.exe", Verbose = true };
     options.AddInput("oneclass.ceylon");
     var compiler = new MonoCompiler();
     compiler.Compile(options);
 }
 public RoslynCodeGenVisitor(Logger log, INativeTypeMapper mapper, Options options, RoslynCompiler.State state, TypeChecker tc)
 {
     _log = log;
     _mapper = mapper;
     _options = options;
     _state = state;
     _tc = tc;
 }
Beispiel #4
0
        static void Main(string[] args)
        {
            // args[0] = file
            // args[1]= output

            var o = new Options()
                        {

                            Output = args[1],
                        };
            o.AddInput(args[0]);
        }