Cosmos/source2/Compiler/Cosmos.Compiler.XSharp.XSC/Program.cs
2012-06-15 01:54:58 +00:00

22 lines
515 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 Generator();
xGenerator.Execute(xNamespace, xSrc);
} catch (Exception ex) {
Console.WriteLine(ex.Message);
Environment.Exit(1);
}
}
}
}