Cosmos/source2/Compiler/Cosmos.Compiler.XSharp.XSC/Program.cs
kudzu_cp 559b8c6384
2012-07-11 22:24:13 +00:00

22 lines
521 B
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Cosmos.Compiler.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);
}
}
}
}