diff --git a/XSharp/source/XSharp.XSC/Program.cs b/XSharp/source/XSharp.XSC/Program.cs new file mode 100644 index 000000000..0169ee10b --- /dev/null +++ b/XSharp/source/XSharp.XSC/Program.cs @@ -0,0 +1,23 @@ +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); + } + } + } +} diff --git a/XSharp/source/XSharp.XSC/Properties/AssemblyInfo.cs b/XSharp/source/XSharp.XSC/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..2d53cb330 --- /dev/null +++ b/XSharp/source/XSharp.XSC/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Cosmos.Compiler.XSharp.XSC")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Cosmos.Compiler.XSharp.XSC")] +[assembly: AssemblyCopyright("Copyright © 2012")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("f2b8882e-e831-4ba6-8f68-7809575f6bd9")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/XSharp/source/XSharp.XSC/XSharp.XSC.csproj b/XSharp/source/XSharp.XSC/XSharp.XSC.csproj new file mode 100644 index 000000000..b9e027a91 --- /dev/null +++ b/XSharp/source/XSharp.XSC/XSharp.XSC.csproj @@ -0,0 +1,86 @@ + + + + Debug + x86 + 8.0.30703 + 2.0 + {7B8499A7-0A8D-44FC-8181-9666CC198025} + Exe + Properties + XSharp.XSC + XSC + v4.0 + Client + 512 + SAK + SAK + SAK + SAK + + + XSharp.ico + + + true + bin\Debug\ + DEBUG;TRACE + full + AnyCPU + bin\Debug\XSC.exe.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + MinimumRecommendedRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + false + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + + + bin\Release\ + TRACE + true + pdbonly + AnyCPU + bin\Release\XSC.exe.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + MinimumRecommendedRules.ruleset + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets + false + ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules + false + + + + + + + + + + + + + + + + + + + + {A281A1B1-C718-4BCB-A7BE-ED840A70449A} + Cosmos.Compiler.XSharp + + + + + \ No newline at end of file diff --git a/XSharp/source/XSharp.XSC/XSharp.XSC.csproj.vspscc b/XSharp/source/XSharp.XSC/XSharp.XSC.csproj.vspscc new file mode 100644 index 000000000..feffdecaa --- /dev/null +++ b/XSharp/source/XSharp.XSC/XSharp.XSC.csproj.vspscc @@ -0,0 +1,10 @@ +"" +{ +"FILE_VERSION" = "9237" +"ENLISTMENT_CHOICE" = "NEVER" +"PROJECT_FILE_RELATIVE_PATH" = "" +"NUMBER_OF_EXCLUDED_FILES" = "0" +"ORIGINAL_PROJECT_FILE_PATH" = "" +"NUMBER_OF_NESTED_PROJECTS" = "0" +"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" +} diff --git a/XSharp/source/XSharp.XSC/XSharp.ico b/XSharp/source/XSharp.XSC/XSharp.ico new file mode 100644 index 000000000..911c9d2a0 Binary files /dev/null and b/XSharp/source/XSharp.XSC/XSharp.ico differ