diff --git a/LIB_ADDER_V1.cs b/LIB_ADDER_V1.cs index e931ee0..453f486 100644 --- a/LIB_ADDER_V1.cs +++ b/LIB_ADDER_V1.cs @@ -8,7 +8,7 @@ namespace PADscript { public class LIB_ADDER_V1 { - private string dir_libs = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\PAD\\plugins"; + private string dir_libs = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\PADScript\\plugins"; public LIB_ADDER_V1() { @@ -54,7 +54,7 @@ public void getLibrarySystem() IEnumerable files = Directory.GetFiles(dir_libs + "\\library\\lib"); foreach (var _file in files) - if (!_file.Trim().Contains("Newtonsoft.Json")) + if (!_file.Trim().Contains("Newtonsoft.Json") && !_file.Trim().ToLower().Contains(".json") && _file.Trim().ToLower().Contains(".dll")) { var DLL = Assembly.LoadFile(_file); var name = DLL.GetName(); diff --git a/Library_Adder.cs b/Library_Adder.cs index 6dd51dd..363580f 100644 --- a/Library_Adder.cs +++ b/Library_Adder.cs @@ -14,8 +14,8 @@ public class Library_Adder private readonly List assm = new List(); private readonly string[,] cmd_assm = new string[1000, 1000]; - private readonly string dir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\PAD\\plugins\\Library\\"; - private readonly string dir_libs = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\PAD\\plugins"; + private readonly string dir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\PADScript\\plugins\\Library\\"; + private readonly string dir_libs = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\PADScript\\plugins"; private Script _p = new Script(); diff --git a/PADScriptTestLibraryPlugin/Class1.cs b/PADScriptTestLibraryPlugin/Class1.cs new file mode 100644 index 0000000..2428dd1 --- /dev/null +++ b/PADScriptTestLibraryPlugin/Class1.cs @@ -0,0 +1,12 @@ +using System; + +namespace PADScriptTestLibraryPlugin +{ + public class Class1 + { + public int add(int a, int b) + { + return a + b; + } + } +} diff --git a/PADScriptTestLibraryPlugin/PADScriptTestLibraryPlugin.csproj b/PADScriptTestLibraryPlugin/PADScriptTestLibraryPlugin.csproj new file mode 100644 index 0000000..ea83d29 --- /dev/null +++ b/PADScriptTestLibraryPlugin/PADScriptTestLibraryPlugin.csproj @@ -0,0 +1,7 @@ + + + + netcoreapp3.0 + + + diff --git a/PADScriptTestLibraryPlugin/bin/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.deps.json b/PADScriptTestLibraryPlugin/bin/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.deps.json new file mode 100644 index 0000000..2d84a87 --- /dev/null +++ b/PADScriptTestLibraryPlugin/bin/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v3.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v3.0": { + "PADScriptTestLibraryPlugin/1.0.0": { + "runtime": { + "PADScriptTestLibraryPlugin.dll": {} + } + } + } + }, + "libraries": { + "PADScriptTestLibraryPlugin/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/PADScriptTestLibraryPlugin/bin/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.dll b/PADScriptTestLibraryPlugin/bin/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.dll new file mode 100644 index 0000000..7e94383 Binary files /dev/null and b/PADScriptTestLibraryPlugin/bin/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.dll differ diff --git a/PADScriptTestLibraryPlugin/bin/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.pdb b/PADScriptTestLibraryPlugin/bin/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.pdb new file mode 100644 index 0000000..1a8dd22 Binary files /dev/null and b/PADScriptTestLibraryPlugin/bin/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.pdb differ diff --git a/PADScriptTestLibraryPlugin/obj/Debug/netcoreapp3.0/PADScriptTestLibraryPlugin.AssemblyInfo.cs b/PADScriptTestLibraryPlugin/obj/Debug/netcoreapp3.0/PADScriptTestLibraryPlugin.AssemblyInfo.cs new file mode 100644 index 0000000..c024569 --- /dev/null +++ b/PADScriptTestLibraryPlugin/obj/Debug/netcoreapp3.0/PADScriptTestLibraryPlugin.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("PADScriptTestLibraryPlugin")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("PADScriptTestLibraryPlugin")] +[assembly: System.Reflection.AssemblyTitleAttribute("PADScriptTestLibraryPlugin")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/PADScriptTestLibraryPlugin/obj/Debug/netcoreapp3.0/PADScriptTestLibraryPlugin.AssemblyInfoInputs.cache b/PADScriptTestLibraryPlugin/obj/Debug/netcoreapp3.0/PADScriptTestLibraryPlugin.AssemblyInfoInputs.cache new file mode 100644 index 0000000..a551f5a --- /dev/null +++ b/PADScriptTestLibraryPlugin/obj/Debug/netcoreapp3.0/PADScriptTestLibraryPlugin.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +7dc348d8cec89470671a770064562b51101a907b diff --git a/PADScriptTestLibraryPlugin/obj/Debug/netcoreapp3.0/PADScriptTestLibraryPlugin.assets.cache b/PADScriptTestLibraryPlugin/obj/Debug/netcoreapp3.0/PADScriptTestLibraryPlugin.assets.cache new file mode 100644 index 0000000..d558e36 Binary files /dev/null and b/PADScriptTestLibraryPlugin/obj/Debug/netcoreapp3.0/PADScriptTestLibraryPlugin.assets.cache differ diff --git a/PADScriptTestLibraryPlugin/obj/Debug/netcoreapp3.0/PADScriptTestLibraryPlugin.csprojAssemblyReference.cache b/PADScriptTestLibraryPlugin/obj/Debug/netcoreapp3.0/PADScriptTestLibraryPlugin.csprojAssemblyReference.cache new file mode 100644 index 0000000..4d8c8cb Binary files /dev/null and b/PADScriptTestLibraryPlugin/obj/Debug/netcoreapp3.0/PADScriptTestLibraryPlugin.csprojAssemblyReference.cache differ diff --git a/PADScriptTestLibraryPlugin/obj/PADScriptTestLibraryPlugin.csproj.nuget.cache b/PADScriptTestLibraryPlugin/obj/PADScriptTestLibraryPlugin.csproj.nuget.cache new file mode 100644 index 0000000..60b41ad --- /dev/null +++ b/PADScriptTestLibraryPlugin/obj/PADScriptTestLibraryPlugin.csproj.nuget.cache @@ -0,0 +1,5 @@ +{ + "version": 1, + "dgSpecHash": "S4ACmCCtthxLAMCauze13wq5kWvldEveNF5ztBNueOw6Ov1HoJFMTCvmExq5GS9JOREW5oFRL62cGPXXD5l90Q==", + "success": true +} \ No newline at end of file diff --git a/PADScriptTestLibraryPlugin/obj/PADScriptTestLibraryPlugin.csproj.nuget.dgspec.json b/PADScriptTestLibraryPlugin/obj/PADScriptTestLibraryPlugin.csproj.nuget.dgspec.json new file mode 100644 index 0000000..e5abc5f --- /dev/null +++ b/PADScriptTestLibraryPlugin/obj/PADScriptTestLibraryPlugin.csproj.nuget.dgspec.json @@ -0,0 +1,63 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\Sovr6\\Desktop\\PADScriptTestLibraryPlugin\\PADScriptTestLibraryPlugin.csproj": {} + }, + "projects": { + "C:\\Users\\Sovr6\\Desktop\\PADScriptTestLibraryPlugin\\PADScriptTestLibraryPlugin.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Sovr6\\Desktop\\PADScriptTestLibraryPlugin\\PADScriptTestLibraryPlugin.csproj", + "projectName": "PADScriptTestLibraryPlugin", + "projectPath": "C:\\Users\\Sovr6\\Desktop\\PADScriptTestLibraryPlugin\\PADScriptTestLibraryPlugin.csproj", + "packagesPath": "C:\\Users\\Sovr6\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Sovr6\\Desktop\\PADScriptTestLibraryPlugin\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + ], + "configFilePaths": [ + "C:\\Users\\Sovr6\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netcoreapp3.0": { + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "netcoreapp3.0": { + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.0.101\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/PADScriptTestLibraryPlugin/obj/PADScriptTestLibraryPlugin.csproj.nuget.g.props b/PADScriptTestLibraryPlugin/obj/PADScriptTestLibraryPlugin.csproj.nuget.g.props new file mode 100644 index 0000000..1674b42 --- /dev/null +++ b/PADScriptTestLibraryPlugin/obj/PADScriptTestLibraryPlugin.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\Sovr6\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder + PackageReference + 5.3.1 + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git a/PADScriptTestLibraryPlugin/obj/PADScriptTestLibraryPlugin.csproj.nuget.g.targets b/PADScriptTestLibraryPlugin/obj/PADScriptTestLibraryPlugin.csproj.nuget.g.targets new file mode 100644 index 0000000..53cfaa1 --- /dev/null +++ b/PADScriptTestLibraryPlugin/obj/PADScriptTestLibraryPlugin.csproj.nuget.g.targets @@ -0,0 +1,6 @@ + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git a/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.AssemblyInfo.cs b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.AssemblyInfo.cs new file mode 100644 index 0000000..23dcfff --- /dev/null +++ b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("PADScriptTestLibraryPlugin")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("PADScriptTestLibraryPlugin")] +[assembly: System.Reflection.AssemblyTitleAttribute("PADScriptTestLibraryPlugin")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.AssemblyInfoInputs.cache b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.AssemblyInfoInputs.cache new file mode 100644 index 0000000..faf4fb7 --- /dev/null +++ b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +286c15b751459cb54afc83aaea053b6848c8986b diff --git a/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.assets.cache b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.assets.cache new file mode 100644 index 0000000..ac4b5c4 Binary files /dev/null and b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.assets.cache differ diff --git a/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.csproj.FileListAbsolute.txt b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..f9faa16 --- /dev/null +++ b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.csproj.FileListAbsolute.txt @@ -0,0 +1,8 @@ +C:\Users\Sovr6\Desktop\PADScriptTestLibraryPlugin\bin\Release\netcoreapp3.0\PADScriptTestLibraryPlugin.deps.json +C:\Users\Sovr6\Desktop\PADScriptTestLibraryPlugin\bin\Release\netcoreapp3.0\PADScriptTestLibraryPlugin.dll +C:\Users\Sovr6\Desktop\PADScriptTestLibraryPlugin\bin\Release\netcoreapp3.0\PADScriptTestLibraryPlugin.pdb +C:\Users\Sovr6\Desktop\PADScriptTestLibraryPlugin\obj\Release\netcoreapp3.0\PADScriptTestLibraryPlugin.csprojAssemblyReference.cache +C:\Users\Sovr6\Desktop\PADScriptTestLibraryPlugin\obj\Release\netcoreapp3.0\PADScriptTestLibraryPlugin.AssemblyInfoInputs.cache +C:\Users\Sovr6\Desktop\PADScriptTestLibraryPlugin\obj\Release\netcoreapp3.0\PADScriptTestLibraryPlugin.AssemblyInfo.cs +C:\Users\Sovr6\Desktop\PADScriptTestLibraryPlugin\obj\Release\netcoreapp3.0\PADScriptTestLibraryPlugin.dll +C:\Users\Sovr6\Desktop\PADScriptTestLibraryPlugin\obj\Release\netcoreapp3.0\PADScriptTestLibraryPlugin.pdb diff --git a/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.csprojAssemblyReference.cache b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.csprojAssemblyReference.cache new file mode 100644 index 0000000..74fe67b Binary files /dev/null and b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.csprojAssemblyReference.cache differ diff --git a/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.dll b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.dll new file mode 100644 index 0000000..7e94383 Binary files /dev/null and b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.dll differ diff --git a/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.pdb b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.pdb new file mode 100644 index 0000000..1a8dd22 Binary files /dev/null and b/PADScriptTestLibraryPlugin/obj/Release/netcoreapp3.0/PADScriptTestLibraryPlugin.pdb differ diff --git a/PADScriptTestLibraryPlugin/obj/project.assets.json b/PADScriptTestLibraryPlugin/obj/project.assets.json new file mode 100644 index 0000000..cdb7029 --- /dev/null +++ b/PADScriptTestLibraryPlugin/obj/project.assets.json @@ -0,0 +1,69 @@ +{ + "version": 3, + "targets": { + ".NETCoreApp,Version=v3.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + ".NETCoreApp,Version=v3.0": [] + }, + "packageFolders": { + "C:\\Users\\Sovr6\\.nuget\\packages\\": {}, + "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Sovr6\\Desktop\\PADScriptTestLibraryPlugin\\PADScriptTestLibraryPlugin.csproj", + "projectName": "PADScriptTestLibraryPlugin", + "projectPath": "C:\\Users\\Sovr6\\Desktop\\PADScriptTestLibraryPlugin\\PADScriptTestLibraryPlugin.csproj", + "packagesPath": "C:\\Users\\Sovr6\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Sovr6\\Desktop\\PADScriptTestLibraryPlugin\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + ], + "configFilePaths": [ + "C:\\Users\\Sovr6\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netcoreapp3.0": { + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "netcoreapp3.0": { + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.0.101\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/PADscript.csproj b/PADscript.csproj index a8d14f2..a31f9ff 100644 --- a/PADscript.csproj +++ b/PADscript.csproj @@ -3,9 +3,22 @@ Exe netcoreapp3.0 + PADscript.Program + 0.1.1 + false + Parker Bidigare + Jarvis home automation inc.Parker Bidigare + Jarvis Home Automation + en + This release added speech for windows users only, need to work on for linux and macOS. + github + https://github.com/sovr610/PADscript + http://www.jarvishomeautomation.com + PADScript is a scripting language built upon Lua to allow easy to use and learn syntax. It is also built with .net Core 3.0 and utilizes the functionality of .net Core in the scripting language. You can add C# .net Core 3.0 dll files as a plugin system to add more functions to it. Happy scripting! + diff --git a/PADscript.csproj.user b/PADscript.csproj.user new file mode 100644 index 0000000..331d084 --- /dev/null +++ b/PADscript.csproj.user @@ -0,0 +1,6 @@ + + + + <_LastSelectedProfileId>C:\Users\Sovr6\Desktop\PADscript\Properties\PublishProfiles\FolderProfile.pubxml + + \ No newline at end of file diff --git a/PADscript.sln b/PADscript.sln new file mode 100644 index 0000000..8114e35 --- /dev/null +++ b/PADscript.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29519.87 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PADscript", "PADscript.csproj", "{547CBA34-3030-42D9-B4D8-F850F17A8CE2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PADScriptTestLibraryPlugin", "..\PADScriptTestLibraryPlugin\PADScriptTestLibraryPlugin.csproj", "{7B4903DE-833A-4E23-B6BC-0911C093F0DB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {547CBA34-3030-42D9-B4D8-F850F17A8CE2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {547CBA34-3030-42D9-B4D8-F850F17A8CE2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {547CBA34-3030-42D9-B4D8-F850F17A8CE2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {547CBA34-3030-42D9-B4D8-F850F17A8CE2}.Release|Any CPU.Build.0 = Release|Any CPU + {7B4903DE-833A-4E23-B6BC-0911C093F0DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7B4903DE-833A-4E23-B6BC-0911C093F0DB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7B4903DE-833A-4E23-B6BC-0911C093F0DB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7B4903DE-833A-4E23-B6BC-0911C093F0DB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {243FB54E-3304-4813-B5B7-1C0F1F0EA897} + EndGlobalSection +EndGlobal diff --git a/Program.cs b/Program.cs index df2fbf1..e3c6a74 100644 --- a/Program.cs +++ b/Program.cs @@ -12,9 +12,14 @@ static void Main(string[] args) Script script; Library_Adder adder; LIB_ADDER_V1 lib; + core c = new core(); Console.WriteLine("PADscript v1.0"); script = new Script(); + + script = c.loadScript(script); + + adder = new Library_Adder(); lib = new LIB_ADDER_V1(); lib.getLibrarySystem(); diff --git a/Properties/PublishProfiles/FolderProfile.pubxml b/Properties/PublishProfiles/FolderProfile.pubxml new file mode 100644 index 0000000..2c7dbab --- /dev/null +++ b/Properties/PublishProfiles/FolderProfile.pubxml @@ -0,0 +1,13 @@ + + + + + FileSystem + Release + Any CPU + netcoreapp3.0 + bin\Release\netcoreapp3.0\publish\ + + \ No newline at end of file diff --git a/Properties/PublishProfiles/FolderProfile.pubxml.user b/Properties/PublishProfiles/FolderProfile.pubxml.user new file mode 100644 index 0000000..312c6e3 --- /dev/null +++ b/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/README.md b/README.md index 68f8349..36e815e 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ an open source scripting language built upon PAD technology and Lua. From Jarvis # Pre-requirements 1. .NET Core 3.0 Runtime +3. For the usage of speech as of 2019-11-24 only windows users will need .NET 4.5+ for speech usage. 2. Thats it! # Usage & Features @@ -12,6 +13,14 @@ to execute a PADScript File. The file type is filename.pad or filename.lua since PADScript is built upon lua. +### plugins +To add additiona commands in the PADScript, you will need to make a C# .net Core library class project. +Once the project is made, add what ever functions you want in it and the name of each function will be +the same as the command in PADScript. Within your AppData directory look for PADScript folder, then under +directory /plugins/Library/lib here just place the .dll file and it will be added automatically. + +The PADScriptTestLibraryPlugin folder is an example dll file that adds two integers. + ## Featues 1. The ability to add additional functions in the scripting language with C# .NET core 3.0 dll libraries. a. The directory is in the root of the program called Library. diff --git a/bin/Debug/netcoreapp3.0/PADscript.deps.json b/bin/Debug/netcoreapp3.0/PADscript.deps.json index 748c763..fa49991 100644 --- a/bin/Debug/netcoreapp3.0/PADscript.deps.json +++ b/bin/Debug/netcoreapp3.0/PADscript.deps.json @@ -6,8 +6,9 @@ "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v3.0": { - "PADscript/1.0.0": { + "PADscript/0.1.1": { "dependencies": { + "Microsoft.CodeAnalysis.FxCopAnalyzers": "2.9.3", "NLua": "1.4.25", "Newtonsoft.Json": "12.0.3" }, @@ -45,6 +46,18 @@ } } }, + "Microsoft.CodeAnalysis.FxCopAnalyzers/2.9.3": { + "dependencies": { + "Microsoft.CodeAnalysis.VersionCheckAnalyzer": "2.9.3", + "Microsoft.CodeQuality.Analyzers": "2.9.3", + "Microsoft.NetCore.Analyzers": "2.9.3", + "Microsoft.NetFramework.Analyzers": "2.9.3" + } + }, + "Microsoft.CodeAnalysis.VersionCheckAnalyzer/2.9.3": {}, + "Microsoft.CodeQuality.Analyzers/2.9.3": {}, + "Microsoft.NetCore.Analyzers/2.9.3": {}, + "Microsoft.NetFramework.Analyzers/2.9.3": {}, "Newtonsoft.Json/12.0.3": { "runtime": { "lib/netstandard2.0/Newtonsoft.Json.dll": { @@ -67,7 +80,7 @@ } }, "libraries": { - "PADscript/1.0.0": { + "PADscript/0.1.1": { "type": "project", "serviceable": false, "sha512": "" @@ -79,6 +92,41 @@ "path": "keralua/1.0.22", "hashPath": "keralua.1.0.22.nupkg.sha512" }, + "Microsoft.CodeAnalysis.FxCopAnalyzers/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k8wrTEpm0BE16zxqOHJ4xXxsWTbx5oINrgkLrMc3US8H/LJAx0OyXmTGOuwGEM2Tqa6L5RU1MPgeiWKwAMVkuw==", + "path": "microsoft.codeanalysis.fxcopanalyzers/2.9.3", + "hashPath": "microsoft.codeanalysis.fxcopanalyzers.2.9.3.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.VersionCheckAnalyzer/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jUQbGsWTF/x4a6ZiWfXvOL3f9LFS7L7QkrDhdv25BaYQg4K7yzBMYcElN3le5S6dk7JG8F3AjRnlXp9QTGcBNg==", + "path": "microsoft.codeanalysis.versioncheckanalyzer/2.9.3", + "hashPath": "microsoft.codeanalysis.versioncheckanalyzer.2.9.3.nupkg.sha512" + }, + "Microsoft.CodeQuality.Analyzers/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5KFSFcQjibITq33jojBITiGIZZkf2OMdggT7ZeNryMAUkT3VkPB/csRWaA8erItQlEvrBzgIwzYnW0531HFV7g==", + "path": "microsoft.codequality.analyzers/2.9.3", + "hashPath": "microsoft.codequality.analyzers.2.9.3.nupkg.sha512" + }, + "Microsoft.NetCore.Analyzers/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6QTU/GKuB/s4eX/VD9ZgiIpD8dhP+BuGMUpp2VRDPflrbka+1DmdnayqPO18epUa/79n1OR9uT9hpvd0jgdggg==", + "path": "microsoft.netcore.analyzers/2.9.3", + "hashPath": "microsoft.netcore.analyzers.2.9.3.nupkg.sha512" + }, + "Microsoft.NetFramework.Analyzers/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-umTMyEaz29EkSuTNJ3As2wrhomQqqQfkBURZHWh59d+LwAbA7YYveUwe6ZFSx1A83pJRQVnsqaSBPbfQ5+niaA==", + "path": "microsoft.netframework.analyzers/2.9.3", + "hashPath": "microsoft.netframework.analyzers.2.9.3.nupkg.sha512" + }, "Newtonsoft.Json/12.0.3": { "type": "package", "serviceable": true, diff --git a/bin/Debug/netcoreapp3.0/PADscript.dll b/bin/Debug/netcoreapp3.0/PADscript.dll index 68a2f1d..a110631 100644 Binary files a/bin/Debug/netcoreapp3.0/PADscript.dll and b/bin/Debug/netcoreapp3.0/PADscript.dll differ diff --git a/bin/Debug/netcoreapp3.0/PADscript.exe b/bin/Debug/netcoreapp3.0/PADscript.exe index 72e8cde..ab6aa8e 100644 Binary files a/bin/Debug/netcoreapp3.0/PADscript.exe and b/bin/Debug/netcoreapp3.0/PADscript.exe differ diff --git a/bin/Debug/netcoreapp3.0/PADscript.pdb b/bin/Debug/netcoreapp3.0/PADscript.pdb index 63193af..6c63fb8 100644 Binary files a/bin/Debug/netcoreapp3.0/PADscript.pdb and b/bin/Debug/netcoreapp3.0/PADscript.pdb differ diff --git a/bin/Release/netcoreapp3.0/KeraLua.dll b/bin/Release/netcoreapp3.0/KeraLua.dll new file mode 100644 index 0000000..f46d600 Binary files /dev/null and b/bin/Release/netcoreapp3.0/KeraLua.dll differ diff --git a/bin/Release/netcoreapp3.0/NLua.dll b/bin/Release/netcoreapp3.0/NLua.dll new file mode 100644 index 0000000..5007317 Binary files /dev/null and b/bin/Release/netcoreapp3.0/NLua.dll differ diff --git a/bin/Release/netcoreapp3.0/Newtonsoft.Json.dll b/bin/Release/netcoreapp3.0/Newtonsoft.Json.dll new file mode 100644 index 0000000..b501fb6 Binary files /dev/null and b/bin/Release/netcoreapp3.0/Newtonsoft.Json.dll differ diff --git a/bin/Release/netcoreapp3.0/PADscript.deps.json b/bin/Release/netcoreapp3.0/PADscript.deps.json new file mode 100644 index 0000000..fa49991 --- /dev/null +++ b/bin/Release/netcoreapp3.0/PADscript.deps.json @@ -0,0 +1,145 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v3.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v3.0": { + "PADscript/0.1.1": { + "dependencies": { + "Microsoft.CodeAnalysis.FxCopAnalyzers": "2.9.3", + "NLua": "1.4.25", + "Newtonsoft.Json": "12.0.3" + }, + "runtime": { + "PADscript.dll": {} + } + }, + "KeraLua/1.0.22": { + "runtime": { + "lib/netcoreapp2.0/KeraLua.dll": { + "assemblyVersion": "1.0.22.0", + "fileVersion": "1.0.22.0" + } + }, + "runtimeTargets": { + "runtimes/linux-x64/native/liblua53.so": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/osx/native/liblua53.dylib": { + "rid": "osx", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x64/native/lua53.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "5.3.5.0" + }, + "runtimes/win-x86/native/lua53.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "5.3.5.0" + } + } + }, + "Microsoft.CodeAnalysis.FxCopAnalyzers/2.9.3": { + "dependencies": { + "Microsoft.CodeAnalysis.VersionCheckAnalyzer": "2.9.3", + "Microsoft.CodeQuality.Analyzers": "2.9.3", + "Microsoft.NetCore.Analyzers": "2.9.3", + "Microsoft.NetFramework.Analyzers": "2.9.3" + } + }, + "Microsoft.CodeAnalysis.VersionCheckAnalyzer/2.9.3": {}, + "Microsoft.CodeQuality.Analyzers/2.9.3": {}, + "Microsoft.NetCore.Analyzers/2.9.3": {}, + "Microsoft.NetFramework.Analyzers/2.9.3": {}, + "Newtonsoft.Json/12.0.3": { + "runtime": { + "lib/netstandard2.0/Newtonsoft.Json.dll": { + "assemblyVersion": "12.0.0.0", + "fileVersion": "12.0.3.23909" + } + } + }, + "NLua/1.4.25": { + "dependencies": { + "KeraLua": "1.0.22" + }, + "runtime": { + "lib/netcoreapp2.0/NLua.dll": { + "assemblyVersion": "1.4.25.0", + "fileVersion": "1.4.25.0" + } + } + } + } + }, + "libraries": { + "PADscript/0.1.1": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "KeraLua/1.0.22": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NG9BqF8jKAEgjp7btu6FQjFWhbDOLgnJww2dhBEslEW/TwGgyp4snhM/SDvaI5gV0k2p5BHkzhF4u8hpf5oU8A==", + "path": "keralua/1.0.22", + "hashPath": "keralua.1.0.22.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.FxCopAnalyzers/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k8wrTEpm0BE16zxqOHJ4xXxsWTbx5oINrgkLrMc3US8H/LJAx0OyXmTGOuwGEM2Tqa6L5RU1MPgeiWKwAMVkuw==", + "path": "microsoft.codeanalysis.fxcopanalyzers/2.9.3", + "hashPath": "microsoft.codeanalysis.fxcopanalyzers.2.9.3.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.VersionCheckAnalyzer/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jUQbGsWTF/x4a6ZiWfXvOL3f9LFS7L7QkrDhdv25BaYQg4K7yzBMYcElN3le5S6dk7JG8F3AjRnlXp9QTGcBNg==", + "path": "microsoft.codeanalysis.versioncheckanalyzer/2.9.3", + "hashPath": "microsoft.codeanalysis.versioncheckanalyzer.2.9.3.nupkg.sha512" + }, + "Microsoft.CodeQuality.Analyzers/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5KFSFcQjibITq33jojBITiGIZZkf2OMdggT7ZeNryMAUkT3VkPB/csRWaA8erItQlEvrBzgIwzYnW0531HFV7g==", + "path": "microsoft.codequality.analyzers/2.9.3", + "hashPath": "microsoft.codequality.analyzers.2.9.3.nupkg.sha512" + }, + "Microsoft.NetCore.Analyzers/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6QTU/GKuB/s4eX/VD9ZgiIpD8dhP+BuGMUpp2VRDPflrbka+1DmdnayqPO18epUa/79n1OR9uT9hpvd0jgdggg==", + "path": "microsoft.netcore.analyzers/2.9.3", + "hashPath": "microsoft.netcore.analyzers.2.9.3.nupkg.sha512" + }, + "Microsoft.NetFramework.Analyzers/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-umTMyEaz29EkSuTNJ3As2wrhomQqqQfkBURZHWh59d+LwAbA7YYveUwe6ZFSx1A83pJRQVnsqaSBPbfQ5+niaA==", + "path": "microsoft.netframework.analyzers/2.9.3", + "hashPath": "microsoft.netframework.analyzers.2.9.3.nupkg.sha512" + }, + "Newtonsoft.Json/12.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg==", + "path": "newtonsoft.json/12.0.3", + "hashPath": "newtonsoft.json.12.0.3.nupkg.sha512" + }, + "NLua/1.4.25": { + "type": "package", + "serviceable": true, + "sha512": "sha512-wQUUZTAA0uurv01tpds4stT/eFebIqmgyOmPPGl6PI0w501qBdlB1AbVlfO277ZoYOQVmR4aiIjRj9+tfNG2eQ==", + "path": "nlua/1.4.25", + "hashPath": "nlua.1.4.25.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/bin/Release/netcoreapp3.0/PADscript.dll b/bin/Release/netcoreapp3.0/PADscript.dll new file mode 100644 index 0000000..957e61c Binary files /dev/null and b/bin/Release/netcoreapp3.0/PADscript.dll differ diff --git a/bin/Release/netcoreapp3.0/PADscript.exe b/bin/Release/netcoreapp3.0/PADscript.exe new file mode 100644 index 0000000..ab6aa8e Binary files /dev/null and b/bin/Release/netcoreapp3.0/PADscript.exe differ diff --git a/bin/Release/netcoreapp3.0/PADscript.pdb b/bin/Release/netcoreapp3.0/PADscript.pdb new file mode 100644 index 0000000..a459a70 Binary files /dev/null and b/bin/Release/netcoreapp3.0/PADscript.pdb differ diff --git a/bin/Release/netcoreapp3.0/PADscript.runtimeconfig.dev.json b/bin/Release/netcoreapp3.0/PADscript.runtimeconfig.dev.json new file mode 100644 index 0000000..7045ce8 --- /dev/null +++ b/bin/Release/netcoreapp3.0/PADscript.runtimeconfig.dev.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "additionalProbingPaths": [ + "C:\\Users\\Sovr6\\.dotnet\\store\\|arch|\\|tfm|", + "C:\\Users\\Sovr6\\.nuget\\packages", + "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + ] + } +} \ No newline at end of file diff --git a/bin/Release/netcoreapp3.0/PADscript.runtimeconfig.json b/bin/Release/netcoreapp3.0/PADscript.runtimeconfig.json new file mode 100644 index 0000000..33ec9d0 --- /dev/null +++ b/bin/Release/netcoreapp3.0/PADscript.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "netcoreapp3.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "3.0.0" + } + } +} \ No newline at end of file diff --git a/bin/Release/netcoreapp3.0/publish/KeraLua.dll b/bin/Release/netcoreapp3.0/publish/KeraLua.dll new file mode 100644 index 0000000..f46d600 Binary files /dev/null and b/bin/Release/netcoreapp3.0/publish/KeraLua.dll differ diff --git a/bin/Release/netcoreapp3.0/publish/NLua.dll b/bin/Release/netcoreapp3.0/publish/NLua.dll new file mode 100644 index 0000000..5007317 Binary files /dev/null and b/bin/Release/netcoreapp3.0/publish/NLua.dll differ diff --git a/bin/Release/netcoreapp3.0/publish/Newtonsoft.Json.dll b/bin/Release/netcoreapp3.0/publish/Newtonsoft.Json.dll new file mode 100644 index 0000000..b501fb6 Binary files /dev/null and b/bin/Release/netcoreapp3.0/publish/Newtonsoft.Json.dll differ diff --git a/bin/Release/netcoreapp3.0/publish/PADscript.deps.json b/bin/Release/netcoreapp3.0/publish/PADscript.deps.json new file mode 100644 index 0000000..fa49991 --- /dev/null +++ b/bin/Release/netcoreapp3.0/publish/PADscript.deps.json @@ -0,0 +1,145 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v3.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v3.0": { + "PADscript/0.1.1": { + "dependencies": { + "Microsoft.CodeAnalysis.FxCopAnalyzers": "2.9.3", + "NLua": "1.4.25", + "Newtonsoft.Json": "12.0.3" + }, + "runtime": { + "PADscript.dll": {} + } + }, + "KeraLua/1.0.22": { + "runtime": { + "lib/netcoreapp2.0/KeraLua.dll": { + "assemblyVersion": "1.0.22.0", + "fileVersion": "1.0.22.0" + } + }, + "runtimeTargets": { + "runtimes/linux-x64/native/liblua53.so": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/osx/native/liblua53.dylib": { + "rid": "osx", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x64/native/lua53.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "5.3.5.0" + }, + "runtimes/win-x86/native/lua53.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "5.3.5.0" + } + } + }, + "Microsoft.CodeAnalysis.FxCopAnalyzers/2.9.3": { + "dependencies": { + "Microsoft.CodeAnalysis.VersionCheckAnalyzer": "2.9.3", + "Microsoft.CodeQuality.Analyzers": "2.9.3", + "Microsoft.NetCore.Analyzers": "2.9.3", + "Microsoft.NetFramework.Analyzers": "2.9.3" + } + }, + "Microsoft.CodeAnalysis.VersionCheckAnalyzer/2.9.3": {}, + "Microsoft.CodeQuality.Analyzers/2.9.3": {}, + "Microsoft.NetCore.Analyzers/2.9.3": {}, + "Microsoft.NetFramework.Analyzers/2.9.3": {}, + "Newtonsoft.Json/12.0.3": { + "runtime": { + "lib/netstandard2.0/Newtonsoft.Json.dll": { + "assemblyVersion": "12.0.0.0", + "fileVersion": "12.0.3.23909" + } + } + }, + "NLua/1.4.25": { + "dependencies": { + "KeraLua": "1.0.22" + }, + "runtime": { + "lib/netcoreapp2.0/NLua.dll": { + "assemblyVersion": "1.4.25.0", + "fileVersion": "1.4.25.0" + } + } + } + } + }, + "libraries": { + "PADscript/0.1.1": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "KeraLua/1.0.22": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NG9BqF8jKAEgjp7btu6FQjFWhbDOLgnJww2dhBEslEW/TwGgyp4snhM/SDvaI5gV0k2p5BHkzhF4u8hpf5oU8A==", + "path": "keralua/1.0.22", + "hashPath": "keralua.1.0.22.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.FxCopAnalyzers/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k8wrTEpm0BE16zxqOHJ4xXxsWTbx5oINrgkLrMc3US8H/LJAx0OyXmTGOuwGEM2Tqa6L5RU1MPgeiWKwAMVkuw==", + "path": "microsoft.codeanalysis.fxcopanalyzers/2.9.3", + "hashPath": "microsoft.codeanalysis.fxcopanalyzers.2.9.3.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.VersionCheckAnalyzer/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jUQbGsWTF/x4a6ZiWfXvOL3f9LFS7L7QkrDhdv25BaYQg4K7yzBMYcElN3le5S6dk7JG8F3AjRnlXp9QTGcBNg==", + "path": "microsoft.codeanalysis.versioncheckanalyzer/2.9.3", + "hashPath": "microsoft.codeanalysis.versioncheckanalyzer.2.9.3.nupkg.sha512" + }, + "Microsoft.CodeQuality.Analyzers/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5KFSFcQjibITq33jojBITiGIZZkf2OMdggT7ZeNryMAUkT3VkPB/csRWaA8erItQlEvrBzgIwzYnW0531HFV7g==", + "path": "microsoft.codequality.analyzers/2.9.3", + "hashPath": "microsoft.codequality.analyzers.2.9.3.nupkg.sha512" + }, + "Microsoft.NetCore.Analyzers/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6QTU/GKuB/s4eX/VD9ZgiIpD8dhP+BuGMUpp2VRDPflrbka+1DmdnayqPO18epUa/79n1OR9uT9hpvd0jgdggg==", + "path": "microsoft.netcore.analyzers/2.9.3", + "hashPath": "microsoft.netcore.analyzers.2.9.3.nupkg.sha512" + }, + "Microsoft.NetFramework.Analyzers/2.9.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-umTMyEaz29EkSuTNJ3As2wrhomQqqQfkBURZHWh59d+LwAbA7YYveUwe6ZFSx1A83pJRQVnsqaSBPbfQ5+niaA==", + "path": "microsoft.netframework.analyzers/2.9.3", + "hashPath": "microsoft.netframework.analyzers.2.9.3.nupkg.sha512" + }, + "Newtonsoft.Json/12.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg==", + "path": "newtonsoft.json/12.0.3", + "hashPath": "newtonsoft.json.12.0.3.nupkg.sha512" + }, + "NLua/1.4.25": { + "type": "package", + "serviceable": true, + "sha512": "sha512-wQUUZTAA0uurv01tpds4stT/eFebIqmgyOmPPGl6PI0w501qBdlB1AbVlfO277ZoYOQVmR4aiIjRj9+tfNG2eQ==", + "path": "nlua/1.4.25", + "hashPath": "nlua.1.4.25.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/bin/Release/netcoreapp3.0/publish/PADscript.dll b/bin/Release/netcoreapp3.0/publish/PADscript.dll new file mode 100644 index 0000000..957e61c Binary files /dev/null and b/bin/Release/netcoreapp3.0/publish/PADscript.dll differ diff --git a/bin/Release/netcoreapp3.0/publish/PADscript.exe b/bin/Release/netcoreapp3.0/publish/PADscript.exe new file mode 100644 index 0000000..ab6aa8e Binary files /dev/null and b/bin/Release/netcoreapp3.0/publish/PADscript.exe differ diff --git a/bin/Release/netcoreapp3.0/publish/PADscript.pdb b/bin/Release/netcoreapp3.0/publish/PADscript.pdb new file mode 100644 index 0000000..a459a70 Binary files /dev/null and b/bin/Release/netcoreapp3.0/publish/PADscript.pdb differ diff --git a/bin/Release/netcoreapp3.0/publish/PADscript.runtimeconfig.json b/bin/Release/netcoreapp3.0/publish/PADscript.runtimeconfig.json new file mode 100644 index 0000000..33ec9d0 --- /dev/null +++ b/bin/Release/netcoreapp3.0/publish/PADscript.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "netcoreapp3.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "3.0.0" + } + } +} \ No newline at end of file diff --git a/bin/Release/netcoreapp3.0/publish/runtimes/linux-x64/native/liblua53.so b/bin/Release/netcoreapp3.0/publish/runtimes/linux-x64/native/liblua53.so new file mode 100644 index 0000000..ea45985 Binary files /dev/null and b/bin/Release/netcoreapp3.0/publish/runtimes/linux-x64/native/liblua53.so differ diff --git a/bin/Release/netcoreapp3.0/publish/runtimes/osx/native/liblua53.dylib b/bin/Release/netcoreapp3.0/publish/runtimes/osx/native/liblua53.dylib new file mode 100644 index 0000000..08d3b39 Binary files /dev/null and b/bin/Release/netcoreapp3.0/publish/runtimes/osx/native/liblua53.dylib differ diff --git a/bin/Release/netcoreapp3.0/publish/runtimes/win-x64/native/lua53.dll b/bin/Release/netcoreapp3.0/publish/runtimes/win-x64/native/lua53.dll new file mode 100644 index 0000000..9716c4c Binary files /dev/null and b/bin/Release/netcoreapp3.0/publish/runtimes/win-x64/native/lua53.dll differ diff --git a/bin/Release/netcoreapp3.0/publish/runtimes/win-x86/native/lua53.dll b/bin/Release/netcoreapp3.0/publish/runtimes/win-x86/native/lua53.dll new file mode 100644 index 0000000..edf6878 Binary files /dev/null and b/bin/Release/netcoreapp3.0/publish/runtimes/win-x86/native/lua53.dll differ diff --git a/bin/Release/netcoreapp3.0/runtimes/linux-x64/native/liblua53.so b/bin/Release/netcoreapp3.0/runtimes/linux-x64/native/liblua53.so new file mode 100644 index 0000000..ea45985 Binary files /dev/null and b/bin/Release/netcoreapp3.0/runtimes/linux-x64/native/liblua53.so differ diff --git a/bin/Release/netcoreapp3.0/runtimes/osx/native/liblua53.dylib b/bin/Release/netcoreapp3.0/runtimes/osx/native/liblua53.dylib new file mode 100644 index 0000000..08d3b39 Binary files /dev/null and b/bin/Release/netcoreapp3.0/runtimes/osx/native/liblua53.dylib differ diff --git a/bin/Release/netcoreapp3.0/runtimes/win-x64/native/lua53.dll b/bin/Release/netcoreapp3.0/runtimes/win-x64/native/lua53.dll new file mode 100644 index 0000000..9716c4c Binary files /dev/null and b/bin/Release/netcoreapp3.0/runtimes/win-x64/native/lua53.dll differ diff --git a/bin/Release/netcoreapp3.0/runtimes/win-x86/native/lua53.dll b/bin/Release/netcoreapp3.0/runtimes/win-x86/native/lua53.dll new file mode 100644 index 0000000..edf6878 Binary files /dev/null and b/bin/Release/netcoreapp3.0/runtimes/win-x86/native/lua53.dll differ diff --git a/core.cs b/core.cs new file mode 100644 index 0000000..f7f9d48 --- /dev/null +++ b/core.cs @@ -0,0 +1,61 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace PADscript +{ + public class core + { + public void speak(string say) + { + Speech(say); + } + + private static void Speech(string textToSpeech, bool wait = false) + { + try + { + // Command to execute PS + Execute($@"Add-Type -AssemblyName System.speech; + $speak = New-Object System.Speech.Synthesis.SpeechSynthesizer; + $speak.Speak(""{textToSpeech}"");"); // Embedd text + + void Execute(string command) + { + // create a temp file with .ps1 extension + var cFile = System.IO.Path.GetTempPath() + Guid.NewGuid() + ".ps1"; + + //Write the .ps1 + using var tw = new System.IO.StreamWriter(cFile, false, Encoding.UTF8); + tw.Write(command); + + // Setup the PS + var start = + new System.Diagnostics.ProcessStartInfo() + { + FileName = "C:\\windows\\system32\\windowspowershell\\v1.0\\powershell.exe", // CHUPA MICROSOFT 02-10-2019 23:45 + LoadUserProfile = false, + UseShellExecute = false, + CreateNoWindow = true, + Arguments = $"-executionpolicy bypass -File {cFile}", + WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden + }; + + //Init the Process + var p = System.Diagnostics.Process.Start(start); + // The wait may not work! :( + if (wait) p.WaitForExit(); + } + }catch(Exception i) + { + Log.RecordError(i); + } + } + + public Script loadScript(Script l) + { + l.addFunc("speak", this, false); + return l; + } + } +} diff --git a/obj/Debug/netcoreapp3.0/PADscript.AssemblyInfo.cs b/obj/Debug/netcoreapp3.0/PADscript.AssemblyInfo.cs index 87afcef..a84332b 100644 --- a/obj/Debug/netcoreapp3.0/PADscript.AssemblyInfo.cs +++ b/obj/Debug/netcoreapp3.0/PADscript.AssemblyInfo.cs @@ -11,13 +11,16 @@ using System; using System.Reflection; -[assembly: System.Reflection.AssemblyCompanyAttribute("PADscript")] +[assembly: System.Reflection.AssemblyCompanyAttribute("Jarvis home automation inc.Parker Bidigare")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Jarvis Home Automation")] +[assembly: System.Reflection.AssemblyDescriptionAttribute(@"PADScript is a scripting language built upon Lua to allow easy to use and learn syntax. It is also built with .net Core 3.0 and utilizes the functionality of .net Core in the scripting language. You can add C# .net Core 3.0 dll files as a plugin system to add more functions to it. Happy scripting!")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.1.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.1")] [assembly: System.Reflection.AssemblyProductAttribute("PADscript")] [assembly: System.Reflection.AssemblyTitleAttribute("PADscript")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.1.1.0")] +[assembly: System.Resources.NeutralResourcesLanguageAttribute("en")] // Generated by the MSBuild WriteCodeFragment class. diff --git a/obj/Debug/netcoreapp3.0/PADscript.AssemblyInfoInputs.cache b/obj/Debug/netcoreapp3.0/PADscript.AssemblyInfoInputs.cache index 551db6d..46de1d6 100644 --- a/obj/Debug/netcoreapp3.0/PADscript.AssemblyInfoInputs.cache +++ b/obj/Debug/netcoreapp3.0/PADscript.AssemblyInfoInputs.cache @@ -1 +1 @@ -d51f9cb9893936b9347b154981c644cb58e10cd5 +a5b0500e20b416a75b75836a1ac7c1bd617ccb29 diff --git a/obj/Debug/netcoreapp3.0/PADscript.assets.cache b/obj/Debug/netcoreapp3.0/PADscript.assets.cache index faad4b3..d62dd1f 100644 Binary files a/obj/Debug/netcoreapp3.0/PADscript.assets.cache and b/obj/Debug/netcoreapp3.0/PADscript.assets.cache differ diff --git a/obj/Debug/netcoreapp3.0/PADscript.csproj.FileListAbsolute.txt b/obj/Debug/netcoreapp3.0/PADscript.csproj.FileListAbsolute.txt index d97b4a4..73740d6 100644 --- a/obj/Debug/netcoreapp3.0/PADscript.csproj.FileListAbsolute.txt +++ b/obj/Debug/netcoreapp3.0/PADscript.csproj.FileListAbsolute.txt @@ -17,3 +17,22 @@ D:\PAD_COLLECTION\PADscript\bin\Debug\netcoreapp3.0\PADscript.dll D:\PAD_COLLECTION\PADscript\bin\Debug\netcoreapp3.0\PADscript.pdb D:\PAD_COLLECTION\PADscript\obj\Debug\netcoreapp3.0\PADscript.dll D:\PAD_COLLECTION\PADscript\obj\Debug\netcoreapp3.0\PADscript.pdb +C:\Users\Sovr6\Desktop\PADscript\bin\Debug\netcoreapp3.0\PADscript.exe +C:\Users\Sovr6\Desktop\PADscript\bin\Debug\netcoreapp3.0\PADscript.deps.json +C:\Users\Sovr6\Desktop\PADscript\bin\Debug\netcoreapp3.0\PADscript.runtimeconfig.json +C:\Users\Sovr6\Desktop\PADscript\bin\Debug\netcoreapp3.0\PADscript.runtimeconfig.dev.json +C:\Users\Sovr6\Desktop\PADscript\bin\Debug\netcoreapp3.0\PADscript.dll +C:\Users\Sovr6\Desktop\PADscript\bin\Debug\netcoreapp3.0\PADscript.pdb +C:\Users\Sovr6\Desktop\PADscript\bin\Debug\netcoreapp3.0\KeraLua.dll +C:\Users\Sovr6\Desktop\PADscript\bin\Debug\netcoreapp3.0\Newtonsoft.Json.dll +C:\Users\Sovr6\Desktop\PADscript\bin\Debug\netcoreapp3.0\NLua.dll +C:\Users\Sovr6\Desktop\PADscript\bin\Debug\netcoreapp3.0\runtimes\linux-x64\native\liblua53.so +C:\Users\Sovr6\Desktop\PADscript\bin\Debug\netcoreapp3.0\runtimes\osx\native\liblua53.dylib +C:\Users\Sovr6\Desktop\PADscript\bin\Debug\netcoreapp3.0\runtimes\win-x64\native\lua53.dll +C:\Users\Sovr6\Desktop\PADscript\bin\Debug\netcoreapp3.0\runtimes\win-x86\native\lua53.dll +C:\Users\Sovr6\Desktop\PADscript\obj\Debug\netcoreapp3.0\PADscript.csprojAssemblyReference.cache +C:\Users\Sovr6\Desktop\PADscript\obj\Debug\netcoreapp3.0\PADscript.AssemblyInfoInputs.cache +C:\Users\Sovr6\Desktop\PADscript\obj\Debug\netcoreapp3.0\PADscript.AssemblyInfo.cs +C:\Users\Sovr6\Desktop\PADscript\obj\Debug\netcoreapp3.0\PADscript.csproj.CopyComplete +C:\Users\Sovr6\Desktop\PADscript\obj\Debug\netcoreapp3.0\PADscript.dll +C:\Users\Sovr6\Desktop\PADscript\obj\Debug\netcoreapp3.0\PADscript.pdb diff --git a/obj/Debug/netcoreapp3.0/PADscript.csprojAssemblyReference.cache b/obj/Debug/netcoreapp3.0/PADscript.csprojAssemblyReference.cache index cf13112..10a43ba 100644 Binary files a/obj/Debug/netcoreapp3.0/PADscript.csprojAssemblyReference.cache and b/obj/Debug/netcoreapp3.0/PADscript.csprojAssemblyReference.cache differ diff --git a/obj/Debug/netcoreapp3.0/PADscript.dll b/obj/Debug/netcoreapp3.0/PADscript.dll index 68a2f1d..a110631 100644 Binary files a/obj/Debug/netcoreapp3.0/PADscript.dll and b/obj/Debug/netcoreapp3.0/PADscript.dll differ diff --git a/obj/Debug/netcoreapp3.0/PADscript.exe b/obj/Debug/netcoreapp3.0/PADscript.exe index 72e8cde..ab6aa8e 100644 Binary files a/obj/Debug/netcoreapp3.0/PADscript.exe and b/obj/Debug/netcoreapp3.0/PADscript.exe differ diff --git a/obj/Debug/netcoreapp3.0/PADscript.pdb b/obj/Debug/netcoreapp3.0/PADscript.pdb index 63193af..6c63fb8 100644 Binary files a/obj/Debug/netcoreapp3.0/PADscript.pdb and b/obj/Debug/netcoreapp3.0/PADscript.pdb differ diff --git a/obj/PADscript.csproj.nuget.cache b/obj/PADscript.csproj.nuget.cache index fcab9ee..fd4fd4c 100644 --- a/obj/PADscript.csproj.nuget.cache +++ b/obj/PADscript.csproj.nuget.cache @@ -1,5 +1,5 @@ { "version": 1, - "dgSpecHash": "rN6u4eBTvZ8M2v9oQBoQsnKnjWDrVepYv5DHGKufzMBbeZfRs0xVPipS3ola0akEx495Y6dHO+/tn4CfeeZ+sQ==", + "dgSpecHash": "DPb+tThmonAgjQE6H+8mSRdaTDbIFPesmIGSvL4vd5rEKTutjsHxQoVsjDchch01SAYClQTH0a+a5xvozKgN1g==", "success": true } \ No newline at end of file diff --git a/obj/PADscript.csproj.nuget.dgspec.json b/obj/PADscript.csproj.nuget.dgspec.json index fecb731..23f12f5 100644 --- a/obj/PADscript.csproj.nuget.dgspec.json +++ b/obj/PADscript.csproj.nuget.dgspec.json @@ -1,17 +1,17 @@ { "format": 1, "restore": { - "D:\\PAD_COLLECTION\\PADscript\\PADscript.csproj": {} + "C:\\Users\\Sovr6\\Desktop\\PADscript\\PADscript.csproj": {} }, "projects": { - "D:\\PAD_COLLECTION\\PADscript\\PADscript.csproj": { - "version": "1.0.0", + "C:\\Users\\Sovr6\\Desktop\\PADscript\\PADscript.csproj": { + "version": "0.1.1", "restore": { - "projectUniqueName": "D:\\PAD_COLLECTION\\PADscript\\PADscript.csproj", + "projectUniqueName": "C:\\Users\\Sovr6\\Desktop\\PADscript\\PADscript.csproj", "projectName": "PADscript", - "projectPath": "D:\\PAD_COLLECTION\\PADscript\\PADscript.csproj", + "projectPath": "C:\\Users\\Sovr6\\Desktop\\PADscript\\PADscript.csproj", "packagesPath": "C:\\Users\\Sovr6\\.nuget\\packages\\", - "outputPath": "D:\\PAD_COLLECTION\\PADscript\\obj\\", + "outputPath": "C:\\Users\\Sovr6\\Desktop\\PADscript\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" @@ -41,6 +41,10 @@ "frameworks": { "netcoreapp3.0": { "dependencies": { + "Microsoft.CodeAnalysis.FxCopAnalyzers": { + "target": "Package", + "version": "[2.9.3, )" + }, "NLua": { "target": "Package", "version": "[1.4.25, )" @@ -65,7 +69,7 @@ "privateAssets": "all" } }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.0.100\\RuntimeIdentifierGraph.json" + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.0.101\\RuntimeIdentifierGraph.json" } } } diff --git a/obj/PADscript.csproj.nuget.g.props b/obj/PADscript.csproj.nuget.g.props index 1674b42..e085995 100644 --- a/obj/PADscript.csproj.nuget.g.props +++ b/obj/PADscript.csproj.nuget.g.props @@ -12,4 +12,18 @@ $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + C:\Users\Sovr6\.nuget\packages\microsoft.netframework.analyzers\2.9.3 + C:\Users\Sovr6\.nuget\packages\microsoft.netcore.analyzers\2.9.3 + C:\Users\Sovr6\.nuget\packages\microsoft.codequality.analyzers\2.9.3 + C:\Users\Sovr6\.nuget\packages\microsoft.codeanalysis.versioncheckanalyzer\2.9.3 + C:\Users\Sovr6\.nuget\packages\microsoft.codeanalysis.fxcopanalyzers\2.9.3 + \ No newline at end of file diff --git a/obj/Release/netcoreapp3.0/PADscript.AssemblyInfo.cs b/obj/Release/netcoreapp3.0/PADscript.AssemblyInfo.cs new file mode 100644 index 0000000..7117971 --- /dev/null +++ b/obj/Release/netcoreapp3.0/PADscript.AssemblyInfo.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Jarvis home automation inc.Parker Bidigare")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Jarvis Home Automation")] +[assembly: System.Reflection.AssemblyDescriptionAttribute(@"PADScript is a scripting language built upon Lua to allow easy to use and learn syntax. It is also built with .net Core 3.0 and utilizes the functionality of .net Core in the scripting language. You can add C# .net Core 3.0 dll files as a plugin system to add more functions to it. Happy scripting!")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.1.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.1.1")] +[assembly: System.Reflection.AssemblyProductAttribute("PADscript")] +[assembly: System.Reflection.AssemblyTitleAttribute("PADscript")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.1.1.0")] +[assembly: System.Resources.NeutralResourcesLanguageAttribute("en")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/obj/Release/netcoreapp3.0/PADscript.AssemblyInfoInputs.cache b/obj/Release/netcoreapp3.0/PADscript.AssemblyInfoInputs.cache new file mode 100644 index 0000000..3bfa45c --- /dev/null +++ b/obj/Release/netcoreapp3.0/PADscript.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +d0d2171cc235057d91c0fede63f89ee4065ba143 diff --git a/obj/Release/netcoreapp3.0/PADscript.assets.cache b/obj/Release/netcoreapp3.0/PADscript.assets.cache new file mode 100644 index 0000000..8aefc88 Binary files /dev/null and b/obj/Release/netcoreapp3.0/PADscript.assets.cache differ diff --git a/obj/Release/netcoreapp3.0/PADscript.csproj.CopyComplete b/obj/Release/netcoreapp3.0/PADscript.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/obj/Release/netcoreapp3.0/PADscript.csproj.FileListAbsolute.txt b/obj/Release/netcoreapp3.0/PADscript.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..465ff46 --- /dev/null +++ b/obj/Release/netcoreapp3.0/PADscript.csproj.FileListAbsolute.txt @@ -0,0 +1,19 @@ +C:\Users\Sovr6\Desktop\PADscript\bin\Release\netcoreapp3.0\PADscript.exe +C:\Users\Sovr6\Desktop\PADscript\bin\Release\netcoreapp3.0\PADscript.deps.json +C:\Users\Sovr6\Desktop\PADscript\bin\Release\netcoreapp3.0\PADscript.runtimeconfig.json +C:\Users\Sovr6\Desktop\PADscript\bin\Release\netcoreapp3.0\PADscript.runtimeconfig.dev.json +C:\Users\Sovr6\Desktop\PADscript\bin\Release\netcoreapp3.0\PADscript.dll +C:\Users\Sovr6\Desktop\PADscript\bin\Release\netcoreapp3.0\PADscript.pdb +C:\Users\Sovr6\Desktop\PADscript\bin\Release\netcoreapp3.0\KeraLua.dll +C:\Users\Sovr6\Desktop\PADscript\bin\Release\netcoreapp3.0\Newtonsoft.Json.dll +C:\Users\Sovr6\Desktop\PADscript\bin\Release\netcoreapp3.0\NLua.dll +C:\Users\Sovr6\Desktop\PADscript\bin\Release\netcoreapp3.0\runtimes\linux-x64\native\liblua53.so +C:\Users\Sovr6\Desktop\PADscript\bin\Release\netcoreapp3.0\runtimes\osx\native\liblua53.dylib +C:\Users\Sovr6\Desktop\PADscript\bin\Release\netcoreapp3.0\runtimes\win-x64\native\lua53.dll +C:\Users\Sovr6\Desktop\PADscript\bin\Release\netcoreapp3.0\runtimes\win-x86\native\lua53.dll +C:\Users\Sovr6\Desktop\PADscript\obj\Release\netcoreapp3.0\PADscript.csprojAssemblyReference.cache +C:\Users\Sovr6\Desktop\PADscript\obj\Release\netcoreapp3.0\PADscript.AssemblyInfoInputs.cache +C:\Users\Sovr6\Desktop\PADscript\obj\Release\netcoreapp3.0\PADscript.AssemblyInfo.cs +C:\Users\Sovr6\Desktop\PADscript\obj\Release\netcoreapp3.0\PADscript.csproj.CopyComplete +C:\Users\Sovr6\Desktop\PADscript\obj\Release\netcoreapp3.0\PADscript.dll +C:\Users\Sovr6\Desktop\PADscript\obj\Release\netcoreapp3.0\PADscript.pdb diff --git a/obj/Release/netcoreapp3.0/PADscript.csprojAssemblyReference.cache b/obj/Release/netcoreapp3.0/PADscript.csprojAssemblyReference.cache new file mode 100644 index 0000000..07eac77 Binary files /dev/null and b/obj/Release/netcoreapp3.0/PADscript.csprojAssemblyReference.cache differ diff --git a/obj/Release/netcoreapp3.0/PADscript.dll b/obj/Release/netcoreapp3.0/PADscript.dll new file mode 100644 index 0000000..957e61c Binary files /dev/null and b/obj/Release/netcoreapp3.0/PADscript.dll differ diff --git a/obj/Release/netcoreapp3.0/PADscript.exe b/obj/Release/netcoreapp3.0/PADscript.exe new file mode 100644 index 0000000..ab6aa8e Binary files /dev/null and b/obj/Release/netcoreapp3.0/PADscript.exe differ diff --git a/obj/Release/netcoreapp3.0/PADscript.pdb b/obj/Release/netcoreapp3.0/PADscript.pdb new file mode 100644 index 0000000..a459a70 Binary files /dev/null and b/obj/Release/netcoreapp3.0/PADscript.pdb differ diff --git a/obj/project.assets.json b/obj/project.assets.json index 1a13dfc..49c34cd 100644 --- a/obj/project.assets.json +++ b/obj/project.assets.json @@ -29,6 +29,42 @@ } } }, + "Microsoft.CodeAnalysis.FxCopAnalyzers/2.9.3": { + "type": "package", + "dependencies": { + "Microsoft.CodeAnalysis.VersionCheckAnalyzer": "[2.9.3]", + "Microsoft.CodeQuality.Analyzers": "[2.9.3]", + "Microsoft.NetCore.Analyzers": "[2.9.3]", + "Microsoft.NetFramework.Analyzers": "[2.9.3]" + }, + "build": { + "build/Microsoft.CodeAnalysis.FxCopAnalyzers.props": {} + } + }, + "Microsoft.CodeAnalysis.VersionCheckAnalyzer/2.9.3": { + "type": "package", + "build": { + "build/Microsoft.CodeAnalysis.VersionCheckAnalyzer.props": {} + } + }, + "Microsoft.CodeQuality.Analyzers/2.9.3": { + "type": "package", + "build": { + "build/Microsoft.CodeQuality.Analyzers.props": {} + } + }, + "Microsoft.NetCore.Analyzers/2.9.3": { + "type": "package", + "build": { + "build/Microsoft.NetCore.Analyzers.props": {} + } + }, + "Microsoft.NetFramework.Analyzers/2.9.3": { + "type": "package", + "build": { + "build/Microsoft.NetFramework.Analyzers.props": {} + } + }, "Newtonsoft.Json/12.0.3": { "type": "package", "compile": { @@ -86,6 +122,186 @@ "runtimes/win-x86/native/lua53.dll" ] }, + "Microsoft.CodeAnalysis.FxCopAnalyzers/2.9.3": { + "sha512": "k8wrTEpm0BE16zxqOHJ4xXxsWTbx5oINrgkLrMc3US8H/LJAx0OyXmTGOuwGEM2Tqa6L5RU1MPgeiWKwAMVkuw==", + "type": "package", + "path": "microsoft.codeanalysis.fxcopanalyzers/2.9.3", + "hasTools": true, + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.rtf", + "build/Microsoft.CodeAnalysis.FxCopAnalyzers.props", + "documentation/Microsoft.CodeAnalysis.FxCopAnalyzers.md", + "microsoft.codeanalysis.fxcopanalyzers.2.9.3.nupkg.sha512", + "microsoft.codeanalysis.fxcopanalyzers.nuspec", + "rulesets/AllRulesDefault.ruleset", + "rulesets/AllRulesDisabled.ruleset", + "rulesets/AllRulesEnabled.ruleset", + "rulesets/DesignRulesDefault.ruleset", + "rulesets/DesignRulesEnabled.ruleset", + "rulesets/DocumentationRulesDefault.ruleset", + "rulesets/DocumentationRulesEnabled.ruleset", + "rulesets/GlobalizationRulesDefault.ruleset", + "rulesets/GlobalizationRulesEnabled.ruleset", + "rulesets/InteroperabilityRulesDefault.ruleset", + "rulesets/InteroperabilityRulesEnabled.ruleset", + "rulesets/MaintainabilityRulesDefault.ruleset", + "rulesets/MaintainabilityRulesEnabled.ruleset", + "rulesets/NamingRulesDefault.ruleset", + "rulesets/NamingRulesEnabled.ruleset", + "rulesets/PerformanceRulesDefault.ruleset", + "rulesets/PerformanceRulesEnabled.ruleset", + "rulesets/ReliabilityRulesDefault.ruleset", + "rulesets/ReliabilityRulesEnabled.ruleset", + "rulesets/SecurityRulesDefault.ruleset", + "rulesets/SecurityRulesEnabled.ruleset", + "rulesets/UsageRulesDefault.ruleset", + "rulesets/UsageRulesEnabled.ruleset", + "rulesets/legacy/AllRules.ruleset", + "rulesets/legacy/BasicCorrectnessRules.ruleset", + "rulesets/legacy/BasicDesignGuidelineRules.ruleset", + "rulesets/legacy/ExtendedCorrectnessRules.ruleset", + "rulesets/legacy/ExtendedDesignGuidelineRules.ruleset", + "rulesets/legacy/GlobalizationRules.ruleset", + "rulesets/legacy/ManagedMinimumRules.ruleset", + "rulesets/legacy/MinimumRecommendedRules.ruleset", + "rulesets/legacy/Sdl-7.1.Recommended.ruleset", + "rulesets/legacy/Sdl-7.1.Required.ruleset", + "rulesets/legacy/SecurityRules.ruleset", + "tools/install.ps1", + "tools/uninstall.ps1" + ] + }, + "Microsoft.CodeAnalysis.VersionCheckAnalyzer/2.9.3": { + "sha512": "jUQbGsWTF/x4a6ZiWfXvOL3f9LFS7L7QkrDhdv25BaYQg4K7yzBMYcElN3le5S6dk7JG8F3AjRnlXp9QTGcBNg==", + "type": "package", + "path": "microsoft.codeanalysis.versioncheckanalyzer/2.9.3", + "hasTools": true, + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.rtf", + "analyzers/dotnet/Microsoft.CodeAnalysis.VersionCheckAnalyzer.dll", + "build/Microsoft.CodeAnalysis.VersionCheckAnalyzer.props", + "documentation/Microsoft.CodeAnalysis.VersionCheckAnalyzer.md", + "microsoft.codeanalysis.versioncheckanalyzer.2.9.3.nupkg.sha512", + "microsoft.codeanalysis.versioncheckanalyzer.nuspec", + "rulesets/AllRulesDefault.ruleset", + "rulesets/AllRulesDisabled.ruleset", + "rulesets/AllRulesEnabled.ruleset", + "rulesets/ReliabilityRulesDefault.ruleset", + "rulesets/ReliabilityRulesEnabled.ruleset", + "tools/install.ps1", + "tools/uninstall.ps1" + ] + }, + "Microsoft.CodeQuality.Analyzers/2.9.3": { + "sha512": "5KFSFcQjibITq33jojBITiGIZZkf2OMdggT7ZeNryMAUkT3VkPB/csRWaA8erItQlEvrBzgIwzYnW0531HFV7g==", + "type": "package", + "path": "microsoft.codequality.analyzers/2.9.3", + "hasTools": true, + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.rtf", + "analyzers/dotnet/cs/Humanizer.dll", + "analyzers/dotnet/cs/Microsoft.CodeQuality.Analyzers.dll", + "analyzers/dotnet/cs/Microsoft.CodeQuality.CSharp.Analyzers.dll", + "analyzers/dotnet/vb/Humanizer.dll", + "analyzers/dotnet/vb/Microsoft.CodeQuality.Analyzers.dll", + "analyzers/dotnet/vb/Microsoft.CodeQuality.VisualBasic.Analyzers.dll", + "build/Microsoft.CodeQuality.Analyzers.props", + "documentation/Microsoft.CodeQuality.Analyzers.md", + "microsoft.codequality.analyzers.2.9.3.nupkg.sha512", + "microsoft.codequality.analyzers.nuspec", + "rulesets/AllRulesDefault.ruleset", + "rulesets/AllRulesDisabled.ruleset", + "rulesets/AllRulesEnabled.ruleset", + "rulesets/DesignRulesDefault.ruleset", + "rulesets/DesignRulesEnabled.ruleset", + "rulesets/DocumentationRulesDefault.ruleset", + "rulesets/DocumentationRulesEnabled.ruleset", + "rulesets/MaintainabilityRulesDefault.ruleset", + "rulesets/MaintainabilityRulesEnabled.ruleset", + "rulesets/NamingRulesDefault.ruleset", + "rulesets/NamingRulesEnabled.ruleset", + "rulesets/PerformanceRulesDefault.ruleset", + "rulesets/PerformanceRulesEnabled.ruleset", + "rulesets/ReliabilityRulesDefault.ruleset", + "rulesets/ReliabilityRulesEnabled.ruleset", + "rulesets/SecurityRulesDefault.ruleset", + "rulesets/SecurityRulesEnabled.ruleset", + "rulesets/UsageRulesDefault.ruleset", + "rulesets/UsageRulesEnabled.ruleset", + "tools/install.ps1", + "tools/uninstall.ps1" + ] + }, + "Microsoft.NetCore.Analyzers/2.9.3": { + "sha512": "6QTU/GKuB/s4eX/VD9ZgiIpD8dhP+BuGMUpp2VRDPflrbka+1DmdnayqPO18epUa/79n1OR9uT9hpvd0jgdggg==", + "type": "package", + "path": "microsoft.netcore.analyzers/2.9.3", + "hasTools": true, + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.rtf", + "analyzers/dotnet/cs/Microsoft.NetCore.Analyzers.dll", + "analyzers/dotnet/cs/Microsoft.NetCore.CSharp.Analyzers.dll", + "analyzers/dotnet/vb/Microsoft.NetCore.Analyzers.dll", + "analyzers/dotnet/vb/Microsoft.NetCore.VisualBasic.Analyzers.dll", + "build/Microsoft.NetCore.Analyzers.props", + "documentation/Microsoft.NetCore.Analyzers.md", + "microsoft.netcore.analyzers.2.9.3.nupkg.sha512", + "microsoft.netcore.analyzers.nuspec", + "rulesets/AllRulesDefault.ruleset", + "rulesets/AllRulesDisabled.ruleset", + "rulesets/AllRulesEnabled.ruleset", + "rulesets/GlobalizationRulesDefault.ruleset", + "rulesets/GlobalizationRulesEnabled.ruleset", + "rulesets/InteroperabilityRulesDefault.ruleset", + "rulesets/InteroperabilityRulesEnabled.ruleset", + "rulesets/PerformanceRulesDefault.ruleset", + "rulesets/PerformanceRulesEnabled.ruleset", + "rulesets/ReliabilityRulesDefault.ruleset", + "rulesets/ReliabilityRulesEnabled.ruleset", + "rulesets/SecurityRulesDefault.ruleset", + "rulesets/SecurityRulesEnabled.ruleset", + "rulesets/UsageRulesDefault.ruleset", + "rulesets/UsageRulesEnabled.ruleset", + "tools/install.ps1", + "tools/uninstall.ps1" + ] + }, + "Microsoft.NetFramework.Analyzers/2.9.3": { + "sha512": "umTMyEaz29EkSuTNJ3As2wrhomQqqQfkBURZHWh59d+LwAbA7YYveUwe6ZFSx1A83pJRQVnsqaSBPbfQ5+niaA==", + "type": "package", + "path": "microsoft.netframework.analyzers/2.9.3", + "hasTools": true, + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.rtf", + "analyzers/dotnet/cs/Microsoft.NetFramework.Analyzers.dll", + "analyzers/dotnet/cs/Microsoft.NetFramework.CSharp.Analyzers.dll", + "analyzers/dotnet/vb/Microsoft.NetFramework.Analyzers.dll", + "analyzers/dotnet/vb/Microsoft.NetFramework.VisualBasic.Analyzers.dll", + "build/Microsoft.NetFramework.Analyzers.props", + "documentation/Microsoft.NetFramework.Analyzers.md", + "microsoft.netframework.analyzers.2.9.3.nupkg.sha512", + "microsoft.netframework.analyzers.nuspec", + "rulesets/AllRulesDefault.ruleset", + "rulesets/AllRulesDisabled.ruleset", + "rulesets/AllRulesEnabled.ruleset", + "rulesets/DesignRulesDefault.ruleset", + "rulesets/DesignRulesEnabled.ruleset", + "rulesets/SecurityRulesDefault.ruleset", + "rulesets/SecurityRulesEnabled.ruleset", + "tools/install.ps1", + "tools/uninstall.ps1" + ] + }, "Newtonsoft.Json/12.0.3": { "sha512": "6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg==", "type": "package", @@ -140,6 +356,7 @@ }, "projectFileDependencyGroups": { ".NETCoreApp,Version=v3.0": [ + "Microsoft.CodeAnalysis.FxCopAnalyzers >= 2.9.3", "NLua >= 1.4.25", "Newtonsoft.Json >= 12.0.3" ] @@ -149,13 +366,13 @@ "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {} }, "project": { - "version": "1.0.0", + "version": "0.1.1", "restore": { - "projectUniqueName": "D:\\PAD_COLLECTION\\PADscript\\PADscript.csproj", + "projectUniqueName": "C:\\Users\\Sovr6\\Desktop\\PADscript\\PADscript.csproj", "projectName": "PADscript", - "projectPath": "D:\\PAD_COLLECTION\\PADscript\\PADscript.csproj", + "projectPath": "C:\\Users\\Sovr6\\Desktop\\PADscript\\PADscript.csproj", "packagesPath": "C:\\Users\\Sovr6\\.nuget\\packages\\", - "outputPath": "D:\\PAD_COLLECTION\\PADscript\\obj\\", + "outputPath": "C:\\Users\\Sovr6\\Desktop\\PADscript\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" @@ -185,6 +402,10 @@ "frameworks": { "netcoreapp3.0": { "dependencies": { + "Microsoft.CodeAnalysis.FxCopAnalyzers": { + "target": "Package", + "version": "[2.9.3, )" + }, "NLua": { "target": "Package", "version": "[1.4.25, )" @@ -209,7 +430,7 @@ "privateAssets": "all" } }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.0.100\\RuntimeIdentifierGraph.json" + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.0.101\\RuntimeIdentifierGraph.json" } } }