diff --git a/Core/CodeNS/Code.cs b/Core/CodeNS/Code.cs new file mode 100644 index 0000000000000000000000000000000000000000..80c8f83ce02558ae0ff5b263bf542f8bd495457d --- /dev/null +++ b/Core/CodeNS/Code.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Core.CodeNS +{ + internal class Code + { + } +} diff --git a/Core/ComplexLogicNS/DoWhile.cs b/Core/ComplexLogicNS/DoWhile.cs new file mode 100644 index 0000000000000000000000000000000000000000..3c9a1f8fa29f0257c09db557100cffa9d2293d18 --- /dev/null +++ b/Core/ComplexLogicNS/DoWhile.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Core.ComplexLogicNS +{ + internal class DoWhile + { + } +} diff --git a/Core/ComplexLogicNS/For.cs b/Core/ComplexLogicNS/For.cs new file mode 100644 index 0000000000000000000000000000000000000000..88f6ebebd299ad08d0e98a67bdc795193461ebac --- /dev/null +++ b/Core/ComplexLogicNS/For.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Core.ComplexLogicNS +{ + internal class For + { + } +} diff --git a/Core/ComplexLogicNS/IComplexLogic.cs b/Core/ComplexLogicNS/IComplexLogic.cs new file mode 100644 index 0000000000000000000000000000000000000000..0257b479c6e409a49f09e31e46414ab8afc182de --- /dev/null +++ b/Core/ComplexLogicNS/IComplexLogic.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Core.ComplexLogicNS +{ + internal interface IComplexLogic + { + } +} diff --git a/Core/ComplexLogicNS/If.cs b/Core/ComplexLogicNS/If.cs new file mode 100644 index 0000000000000000000000000000000000000000..58b301ecd1b51e33bce26ed736c6008b7decc920 --- /dev/null +++ b/Core/ComplexLogicNS/If.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Core.ComplexLogicNS +{ + internal class If + { + } +} diff --git a/Core/ComplexLogicNS/While.cs b/Core/ComplexLogicNS/While.cs new file mode 100644 index 0000000000000000000000000000000000000000..5102e4ee71a14390facaba2582f7df3c8e1babfe --- /dev/null +++ b/Core/ComplexLogicNS/While.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Core.ComplexLogicNS +{ + internal class While + { + } +} diff --git a/Core/Core.csproj b/Core/Core.csproj index 2150e3797ba5eba3218d8435d31f8a8e2cc83c4c..87944dcbf556e13424d3de6c810d3daffef8a69e 100644 --- a/Core/Core.csproj +++ b/Core/Core.csproj @@ -7,4 +7,16 @@ <Nullable>enable</Nullable> </PropertyGroup> + <ItemGroup> + <PackageReference Include="org.matheval" Version="1.0.0.3" /> + </ItemGroup> + + <ItemGroup> + <Folder Include="FunctionNS\" /> + <Folder Include="CodeNS\" /> + <Folder Include="ComplexLogicNS\" /> + <Folder Include="DataTypeNS\" /> + <Folder Include="MemoryNS\" /> + </ItemGroup> + </Project> diff --git a/Core/DataTypeNS/Array.cs b/Core/DataTypeNS/Array.cs new file mode 100644 index 0000000000000000000000000000000000000000..980771fbf880285f08f11c9e4bbbfa8fb516cb56 --- /dev/null +++ b/Core/DataTypeNS/Array.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Core.DataTypeNS +{ + internal class Array + { + } +} diff --git a/Core/DataTypeNS/EDataType.cs b/Core/DataTypeNS/EDataType.cs new file mode 100644 index 0000000000000000000000000000000000000000..3d30a40cf761f9670ccef5aaa3bf9dc2a6e4d40e --- /dev/null +++ b/Core/DataTypeNS/EDataType.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Core.DataTypeNS +{ + enum EDataType + { + INTEGER, REAL, CHAR, STRING, BOOLEAN, STRUCTURE + } +} diff --git a/Core/DataTypeNS/IHeapObj.cs b/Core/DataTypeNS/IHeapObj.cs new file mode 100644 index 0000000000000000000000000000000000000000..e61c064015435af852c27ffda783caebddd0929b --- /dev/null +++ b/Core/DataTypeNS/IHeapObj.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Coree.DataTypeNS +{ + internal interface IHeapObj + { + } +} diff --git a/Core/DataTypeNS/StackObj.cs b/Core/DataTypeNS/StackObj.cs new file mode 100644 index 0000000000000000000000000000000000000000..0c542f0318ab42def1abb0652fbabc8bbf154a64 --- /dev/null +++ b/Core/DataTypeNS/StackObj.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Coree.DataTypeNS +{ + internal class StackObj + { + } +} diff --git a/Core/DataTypeNS/Structure.cs b/Core/DataTypeNS/Structure.cs new file mode 100644 index 0000000000000000000000000000000000000000..401a8ee5199ce3c66b37092f4496d91e704fd1a7 --- /dev/null +++ b/Core/DataTypeNS/Structure.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Core.DataTypeNS +{ + internal class Structure + { + } +} diff --git a/Core/FunctionNS/ACommands.cs b/Core/FunctionNS/ACommands.cs new file mode 100644 index 0000000000000000000000000000000000000000..e8f9c2a081679305acb40b63e5a21b99bc9a9e25 --- /dev/null +++ b/Core/FunctionNS/ACommands.cs @@ -0,0 +1,7 @@ +namespace Core.FunctionNS +{ + internal abstract class ACommands : IStepable + { + abstract public bool step(); + } +} \ No newline at end of file diff --git a/Core/FunctionNS/Function.cs b/Core/FunctionNS/Function.cs new file mode 100644 index 0000000000000000000000000000000000000000..ceea960f1be32c37e393e34a8be4953a417792e0 --- /dev/null +++ b/Core/FunctionNS/Function.cs @@ -0,0 +1,10 @@ +namespace Core.FunctionNS +{ + internal class Function : ACommands + { + public override bool step() + { + return true; + } + } +} \ No newline at end of file diff --git a/Core/FunctionNS/IStepable.cs b/Core/FunctionNS/IStepable.cs new file mode 100644 index 0000000000000000000000000000000000000000..e9ef72312c16b011a55e01565e7847a87fbf57c8 --- /dev/null +++ b/Core/FunctionNS/IStepable.cs @@ -0,0 +1,7 @@ +namespace Core.FunctionNS +{ + internal interface IStepable + { + public bool step(); + } +} \ No newline at end of file diff --git a/Core/MemoryNS/Memory.cs b/Core/MemoryNS/Memory.cs new file mode 100644 index 0000000000000000000000000000000000000000..7994e63a7d9ca97b9ea296ea1f3572db7f3718b5 --- /dev/null +++ b/Core/MemoryNS/Memory.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Core.MemoryNS +{ + public static class Memory + { + + } +} diff --git a/Core/Program.cs b/Core/Program.cs index 52835145e552bfdc6838efa48974acfa251cc9bf..d53c8d91c7a359931c14d5de4f6517dbff0f2b65 100644 --- a/Core/Program.cs +++ b/Core/Program.cs @@ -1,10 +1,16 @@ namespace Core { + using FunctionNS; internal class Program { static void Main(string[] args) { Console.WriteLine("Hello, World!"); + + Function f = new Function(); + Console.WriteLine(f.step()); + Console.ReadLine(); + } } }