mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
22 lines
515 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|