Cosmos/XSharp/source/XSharp.XSC/Program.cs
kudzu_cp a4daaed283
2012-07-12 14:11:56 +00:00

23 lines
536 B
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Cosmos.Compiler.XSharp;
namespace XSharp.XSC {
class Program {
static void Main(string[] aArgs) {
try {
string xSrc = aArgs[0];
string xNamespace = aArgs[1];
var xGenerator = new CSharpGenerator();
xGenerator.Execute(xNamespace, xSrc);
} catch (Exception ex) {
Console.WriteLine(ex.Message);
Environment.Exit(1);
}
}
}
}