diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cdd6d4f --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +obj/ +bin/ + diff --git a/.vscode/launch.json b/.vscode/launch.json index cc72551..86e5341 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,7 +9,7 @@ "type": "coreclr", "request": "launch", "preLaunchTask": "build", - "program": "${workspaceFolder}/samples/red/bin/Debug/net7.0/red.dll", + "program": "${workspaceFolder}/samples/red/bin/Debug/net6.0/red.dll", "args": [], "cwd": "${workspaceFolder}/samples/red/", "stopAtEntry": false, diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..0185ccb --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "dotnetCoreExplorer.logpanel": true, + "dotnetCoreExplorer.searchpatterns": "test/**/bin/**/*.{dll,exe}", + "terminal.integrated.fontFamily": "monospace, fixed", + "terminal.integrated.fontWeight": "normal" +} \ No newline at end of file diff --git a/irules.core/Class1.cs b/irules.core/Class1.cs deleted file mode 100644 index 1432814..0000000 --- a/irules.core/Class1.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace irules.core -{ - public class Class1 - { - } -} diff --git a/irules.core/Clause.cs b/irules.core/Clause.cs new file mode 100644 index 0000000..551cfb2 --- /dev/null +++ b/irules.core/Clause.cs @@ -0,0 +1,35 @@ +using System; +using System.Collections.Generic; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using Irony.Parsing; + +namespace irules.core +{ + public class Clause : Grammar + { + public Clause() + { + var comment = new CommentTerminal("comment", "#", "\n"); + this.NonGrammarTerminals.Add(comment); + NonTerminal E = new NonTerminal("E"); + NonTerminal T = new NonTerminal("T"); + NonTerminal F = new NonTerminal("F"); + NonTerminal L = new NonTerminal("L"); + NonTerminal S = new NonTerminal("S"); + IdentifierTerminal id = new IdentifierTerminal("Id"); + + E.Rule = "(" + E + ")" | E + "|" + T | T; + T.Rule = T + "&" + F | F; + F.Rule = "^" + E | S; + S.Rule = id | id + "(" + L + ")"; + L.Rule = id | L + "," + id; + this.RegisterBracePair("(",")"); + this.RegisterOperators(30,"&|^"); + + this.Root = E; + } + } +} diff --git a/irules.core/bin/Debug/net472/Irony.dll b/irules.core/bin/Debug/net472/Irony.dll deleted file mode 100755 index 986f95f..0000000 Binary files a/irules.core/bin/Debug/net472/Irony.dll and /dev/null differ diff --git a/irules.core/bin/Debug/net472/irules.core.dll b/irules.core/bin/Debug/net472/irules.core.dll deleted file mode 100644 index 6cc7ba2..0000000 Binary files a/irules.core/bin/Debug/net472/irules.core.dll and /dev/null differ diff --git a/irules.core/bin/Debug/net472/irules.core.pdb b/irules.core/bin/Debug/net472/irules.core.pdb deleted file mode 100644 index 34c3177..0000000 Binary files a/irules.core/bin/Debug/net472/irules.core.pdb and /dev/null differ diff --git a/irules.core/irules.core.csproj b/irules.core/irules.core.csproj index 556dd20..a1aace3 100644 --- a/irules.core/irules.core.csproj +++ b/irules.core/irules.core.csproj @@ -6,6 +6,7 @@ + \ No newline at end of file diff --git a/irules.core/obj/Debug/net472/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/irules.core/obj/Debug/net472/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/irules.core/obj/Debug/net472/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] diff --git a/irules.core/obj/Debug/net472/build-time-generator.touch b/irules.core/obj/Debug/net472/build-time-generator.touch deleted file mode 100644 index e69de29..0000000 diff --git a/irules.core/obj/Debug/net472/g/RemoteControlGenerator/RemoteControl.g.cs b/irules.core/obj/Debug/net472/g/RemoteControlGenerator/RemoteControl.g.cs deleted file mode 100644 index ffab6d5..0000000 --- a/irules.core/obj/Debug/net472/g/RemoteControlGenerator/RemoteControl.g.cs +++ /dev/null @@ -1,9 +0,0 @@ -// -// *************************************************************************************** -// This file has been generated by the package Uno.UI.RemoteControl - for Xaml Hot Reload. -// Documentation: https://platform.uno/docs/articles/features/working-with-xaml-hot-reload.html -// *************************************************************************************** -// -// -#pragma warning disable // Ignore code analysis warnings - diff --git a/irules.core/obj/Debug/net472/g/XamlCodeGenerator/GlobalStaticResources.g.cs b/irules.core/obj/Debug/net472/g/XamlCodeGenerator/GlobalStaticResources.g.cs deleted file mode 100644 index 81299b7..0000000 --- a/irules.core/obj/Debug/net472/g/XamlCodeGenerator/GlobalStaticResources.g.cs +++ /dev/null @@ -1,75 +0,0 @@ -// -#pragma warning disable 618 // Ignore obsolete members warnings -#pragma warning disable 105 // Ignore duplicate namespaces -#pragma warning disable 1591 // Ignore missing XML comment warnings -#pragma warning disable CS8669 // Ignore annotation for nullable reference types -#if __WASM__ -#error invalid internal source generator state. The __WASM__ DefineConstant was not propagated properly. -#endif -namespace irules.core -{ - /// - /// Contains all the static resources defined for the application - /// - [global::System.Diagnostics.CodeAnalysis.SuppressMessage("nventive.Usage", "NV0056", Justification="Generated code")] - [global::System.Diagnostics.CodeAnalysis.SuppressMessage("nventive.Usage", "NV0058", Justification="Generated code")] - [global::System.Diagnostics.CodeAnalysis.SuppressMessage("nventive.Usage", "NV1003", Justification="Generated code")] - [global::System.Diagnostics.CodeAnalysis.SuppressMessage("nventive.Usage", "NV0085", Justification="Generated code")] - [global::System.Diagnostics.CodeAnalysis.SuppressMessage("nventive.Usage", "NV2001", Justification="Generated code")] - [global::System.Diagnostics.CodeAnalysis.SuppressMessage("nventive.Usage", "NV2003", Justification="Generated code")] - [global::System.Diagnostics.CodeAnalysis.SuppressMessage("nventive.Usage", "NV2004", Justification="Generated code")] - [global::System.Diagnostics.CodeAnalysis.SuppressMessage("nventive.Usage", "NV2005", Justification="Generated code")] - [global::System.Diagnostics.CodeAnalysis.SuppressMessage("dotnet", "CA1001", Justification="Generated code")] - public sealed partial class GlobalStaticResources - { - static bool _initialized; - private static bool _stylesRegistered; - private static bool _dictionariesRegistered; - internal static global::Uno.UI.Xaml.XamlParseContext __ParseContext_ {get; } = new global::Uno.UI.Xaml.XamlParseContext() - { - AssemblyName = "irules.core", - } - ; - - static GlobalStaticResources() - { - Initialize(); - } - public static void Initialize() - { - if (!_initialized) - { - _initialized = true; - global::Uno.UI.GlobalStaticResources.Initialize(); - global::Uno.UI.Toolkit.GlobalStaticResources.Initialize(); - global::Uno.UI.GlobalStaticResources.RegisterDefaultStyles(); - global::Uno.UI.Toolkit.GlobalStaticResources.RegisterDefaultStyles(); - global::Uno.UI.GlobalStaticResources.RegisterResourceDictionariesBySource(); - global::Uno.UI.Toolkit.GlobalStaticResources.RegisterResourceDictionariesBySource(); - } - } - public static void RegisterDefaultStyles() - { - if(!_stylesRegistered) - { - _stylesRegistered = true; - } - } - // Register ResourceDictionaries using ms-appx:/// syntax, this is called for external resources - public static void RegisterResourceDictionariesBySource() - { - if(!_dictionariesRegistered) - { - _dictionariesRegistered = true; - } - } - // Register ResourceDictionaries using ms-resource:/// syntax, this is called for local resources - internal static void RegisterResourceDictionariesBySourceLocal() - { - } - [global::System.Obsolete("This method is provided for binary backward compatibility. It will always return null.")] - [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] - public static object FindResource(string name) => null; - - } -} diff --git a/irules.core/obj/Debug/net472/g/XamlCodeGenerator/LocalizationResources.g.cs b/irules.core/obj/Debug/net472/g/XamlCodeGenerator/LocalizationResources.g.cs deleted file mode 100644 index b99b85c..0000000 --- a/irules.core/obj/Debug/net472/g/XamlCodeGenerator/LocalizationResources.g.cs +++ /dev/null @@ -1,2 +0,0 @@ -// -[assembly: global::System.Reflection.AssemblyMetadata("UnoHasLocalizationResources", "False")] \ No newline at end of file diff --git a/irules.core/obj/Debug/net472/g/generation.cache b/irules.core/obj/Debug/net472/g/generation.cache deleted file mode 100644 index 56e7411..0000000 --- a/irules.core/obj/Debug/net472/g/generation.cache +++ /dev/null @@ -1,3 +0,0 @@ -/home/paul/workspace/R/irules/irules.core/obj/Debug/net472/g/RemoteControlGenerator/RemoteControl.g.cs -/home/paul/workspace/R/irules/irules.core/obj/Debug/net472/g/XamlCodeGenerator/GlobalStaticResources.g.cs -/home/paul/workspace/R/irules/irules.core/obj/Debug/net472/g/XamlCodeGenerator/LocalizationResources.g.cs diff --git a/irules.core/obj/Debug/net472/g/obj/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/irules.core/obj/Debug/net472/g/obj/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/irules.core/obj/Debug/net472/g/obj/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] diff --git a/irules.core/obj/Debug/net472/g/obj/irules.core.AssemblyInfo.cs b/irules.core/obj/Debug/net472/g/obj/irules.core.AssemblyInfo.cs deleted file mode 100644 index b68b074..0000000 --- a/irules.core/obj/Debug/net472/g/obj/irules.core.AssemblyInfo.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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("irules.core")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("irules.core")] -[assembly: System.Reflection.AssemblyTitleAttribute("irules.core")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Généré par la classe MSBuild WriteCodeFragment. - diff --git a/irules.core/obj/Debug/net472/g/obj/irules.core.AssemblyInfoInputs.cache b/irules.core/obj/Debug/net472/g/obj/irules.core.AssemblyInfoInputs.cache deleted file mode 100644 index c0f88bd..0000000 --- a/irules.core/obj/Debug/net472/g/obj/irules.core.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -67af2805439634152f9d4fe058650a29803e461d diff --git a/irules.core/obj/Debug/net472/g/obj/irules.core.GeneratedMSBuildEditorConfig.editorconfig b/irules.core/obj/Debug/net472/g/obj/irules.core.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 8ff4814..0000000 --- a/irules.core/obj/Debug/net472/g/obj/irules.core.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,38 +0,0 @@ -is_global = true -build_property.XamlSourceGeneratorTracingFolder = -build_property.TargetFramework = net472 -build_property.ProjectTypeGuidsProperty = -build_property.MSBuildProjectFullPath = /home/paul/workspace/R/irules/irules.core/irules.core.csproj -build_property.RootNamespace = irules.core -build_property.DefineConstantsProperty = TRACE,DEBUG,NETFRAMEWORK,NET472,HAS_UNO,HAS_UNO_WINUI,UNO_HAS_FRAMEWORKELEMENT_MEASUREOVERRIDE,UNO_HAS_NO_IDEPENDENCYOBJECT -build_property.Configuration = Debug -build_property.IntermediateOutputPath = /home/paul/workspace/R/irules/irules.core/obj/Debug/net472/g/obj/ -build_property.AndroidApplication = -build_property.OutputType = Library -build_property.MSBuildProjectName = irules.core -build_property.BuildingProject = false -build_property.DesignTimeBuild = True -build_property.UnoUISourceGeneratorDebuggerBreak = -build_property.BuildingInsideVisualStudio = True -build_property.IsHotReloadHost = -build_property.UnoUseXamlReaderHotReload = true -build_property.IsUnoHead = -build_property.IsUnoHead = -build_property.UseWPF = -build_property.UnoRemoteControlPort = -build_property.UnoRemoteControlHost = -build_property.UnoRemoteControlProcessorsPath = -build_property.UnoSkipUserControlsInVisualTree = -build_property.ShouldWriteErrorOnInvalidXaml = -build_property.IsUiAutomationMappingEnabled = -build_property.ShouldAnnotateGeneratedXaml = -build_property.DefaultLanguage = -build_property.UnoPlatformTelemetryOptOut = -build_property.UnoPlatformDefaultSymbolsFontFamily = ms-appx:///Uno.Fonts.Fluent/Fonts/uno-fluentui-assets.ttf -build_property.ExcludeXamlNamespacesProperty = win,not_mux -build_property.IncludeXamlNamespacesProperty = xamarin,not_win,legacy -build_property.XamlGeneratorAnalyzerSuppressionsProperty = nventive.Usage-NV0056,nventive.Usage-NV0058,nventive.Usage-NV1003,nventive.Usage-NV0085,nventive.Usage-NV2001,nventive.Usage-NV2003,nventive.Usage-NV2004,nventive.Usage-NV2005,csharp-618 // Ignore obsolete members warnings,csharp-105 // Ignore duplicate namespaces,csharp-1591 // Ignore missing XML comment warnings,csharp-CS8669 // Ignore annotation for nullable reference types,dotnet-CA1001 -build_property.UnoEnableXamlFuzzyMatching = -build_property.UnoXamlResourcesTrimming = -build_property.BaseIntermediateOutputPath = obj/ -build_property.AssemblyName = irules.core diff --git a/irules.core/obj/Debug/net472/g/obj/irules.core.assets.cache b/irules.core/obj/Debug/net472/g/obj/irules.core.assets.cache deleted file mode 100644 index 447fb85..0000000 Binary files a/irules.core/obj/Debug/net472/g/obj/irules.core.assets.cache and /dev/null differ diff --git a/irules.core/obj/Debug/net472/g/obj/irules.core.csproj.AssemblyReference.cache b/irules.core/obj/Debug/net472/g/obj/irules.core.csproj.AssemblyReference.cache deleted file mode 100644 index 57e2600..0000000 Binary files a/irules.core/obj/Debug/net472/g/obj/irules.core.csproj.AssemblyReference.cache and /dev/null differ diff --git a/irules.core/obj/Debug/net472/g/obj/uno.reload.cookie.g.cs b/irules.core/obj/Debug/net472/g/obj/uno.reload.cookie.g.cs deleted file mode 100644 index e69de29..0000000 diff --git a/irules.core/obj/Debug/net472/irules.core.AssemblyInfo.cs b/irules.core/obj/Debug/net472/irules.core.AssemblyInfo.cs deleted file mode 100644 index b68b074..0000000 --- a/irules.core/obj/Debug/net472/irules.core.AssemblyInfo.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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("irules.core")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("irules.core")] -[assembly: System.Reflection.AssemblyTitleAttribute("irules.core")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Généré par la classe MSBuild WriteCodeFragment. - diff --git a/irules.core/obj/Debug/net472/irules.core.AssemblyInfoInputs.cache b/irules.core/obj/Debug/net472/irules.core.AssemblyInfoInputs.cache deleted file mode 100644 index c0f88bd..0000000 --- a/irules.core/obj/Debug/net472/irules.core.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -67af2805439634152f9d4fe058650a29803e461d diff --git a/irules.core/obj/Debug/net472/irules.core.GeneratedMSBuildEditorConfig.editorconfig b/irules.core/obj/Debug/net472/irules.core.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index e7c6f6e..0000000 --- a/irules.core/obj/Debug/net472/irules.core.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -is_global = true -build_property.RootNamespace = irules.core -build_property.ProjectDir = /home/paul/workspace/R/irules/irules.core/ diff --git a/irules.core/obj/Debug/net472/irules.core.assets.cache b/irules.core/obj/Debug/net472/irules.core.assets.cache deleted file mode 100644 index 984ba49..0000000 Binary files a/irules.core/obj/Debug/net472/irules.core.assets.cache and /dev/null differ diff --git a/irules.core/obj/Debug/net472/irules.core.csproj.AssemblyReference.cache b/irules.core/obj/Debug/net472/irules.core.csproj.AssemblyReference.cache deleted file mode 100644 index 3b98c33..0000000 Binary files a/irules.core/obj/Debug/net472/irules.core.csproj.AssemblyReference.cache and /dev/null differ diff --git a/irules.core/obj/Debug/net472/irules.core.csproj.CopyComplete b/irules.core/obj/Debug/net472/irules.core.csproj.CopyComplete deleted file mode 100644 index e69de29..0000000 diff --git a/irules.core/obj/Debug/net472/irules.core.csproj.CoreCompileInputs.cache b/irules.core/obj/Debug/net472/irules.core.csproj.CoreCompileInputs.cache deleted file mode 100644 index 979974f..0000000 --- a/irules.core/obj/Debug/net472/irules.core.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -96c6617b67272994e45cc0500dc3b899daceac92 diff --git a/irules.core/obj/Debug/net472/irules.core.csproj.FileListAbsolute.txt b/irules.core/obj/Debug/net472/irules.core.csproj.FileListAbsolute.txt deleted file mode 100644 index 318f284..0000000 --- a/irules.core/obj/Debug/net472/irules.core.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,11 +0,0 @@ -/home/paul/workspace/R/irules/irules.core/bin/Debug/net472/irules.core.dll -/home/paul/workspace/R/irules/irules.core/bin/Debug/net472/irules.core.pdb -/home/paul/workspace/R/irules/irules.core/obj/Debug/net472/irules.core.csproj.AssemblyReference.cache -/home/paul/workspace/R/irules/irules.core/obj/Debug/net472/irules.core.AssemblyInfoInputs.cache -/home/paul/workspace/R/irules/irules.core/obj/Debug/net472/irules.core.AssemblyInfo.cs -/home/paul/workspace/R/irules/irules.core/obj/Debug/net472/irules.core.csproj.CoreCompileInputs.cache -/home/paul/workspace/R/irules/irules.core/obj/Debug/net472/irules.core.csproj.CopyComplete -/home/paul/workspace/R/irules/irules.core/obj/Debug/net472/irules.core.dll -/home/paul/workspace/R/irules/irules.core/obj/Debug/net472/irules.core.pdb -/home/paul/workspace/R/irules/irules.core/bin/Debug/net472/Irony.dll -/home/paul/workspace/R/irules/irules.core/obj/Debug/net472/irules.core.GeneratedMSBuildEditorConfig.editorconfig diff --git a/irules.core/obj/Debug/net472/irules.core.dll b/irules.core/obj/Debug/net472/irules.core.dll deleted file mode 100644 index 6cc7ba2..0000000 Binary files a/irules.core/obj/Debug/net472/irules.core.dll and /dev/null differ diff --git a/irules.core/obj/Debug/net472/irules.core.pdb b/irules.core/obj/Debug/net472/irules.core.pdb deleted file mode 100644 index 34c3177..0000000 Binary files a/irules.core/obj/Debug/net472/irules.core.pdb and /dev/null differ diff --git a/irules.core/obj/Debug/net472/uno.reload.cookie.g.cs b/irules.core/obj/Debug/net472/uno.reload.cookie.g.cs deleted file mode 100644 index e69de29..0000000 diff --git a/irules.core/obj/Debug/net7.0-android/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs b/irules.core/obj/Debug/net7.0-android/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs deleted file mode 100644 index d69481d..0000000 --- a/irules.core/obj/Debug/net7.0-android/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] diff --git a/irules.core/obj/Debug/net7.0-android/irules.core.AssemblyInfo.cs b/irules.core/obj/Debug/net7.0-android/irules.core.AssemblyInfo.cs deleted file mode 100644 index 4099b97..0000000 --- a/irules.core/obj/Debug/net7.0-android/irules.core.AssemblyInfo.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// 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("irules.core")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("irules.core")] -[assembly: System.Reflection.AssemblyTitleAttribute("irules.core")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] -[assembly: System.Runtime.Versioning.TargetPlatformAttribute("android0.0")] -[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("android")] - -// Généré par la classe MSBuild WriteCodeFragment. - diff --git a/irules.core/obj/Debug/net7.0-android/irules.core.AssemblyInfoInputs.cache b/irules.core/obj/Debug/net7.0-android/irules.core.AssemblyInfoInputs.cache deleted file mode 100644 index 238ec22..0000000 --- a/irules.core/obj/Debug/net7.0-android/irules.core.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -ad12c17323090453830d841ee19ca1692205c355 diff --git a/irules.core/obj/Debug/net7.0-android/irules.core.GeneratedMSBuildEditorConfig.editorconfig b/irules.core/obj/Debug/net7.0-android/irules.core.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index f69643b..0000000 --- a/irules.core/obj/Debug/net7.0-android/irules.core.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,11 +0,0 @@ -is_global = true -build_property.TargetFramework = net7.0-android -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = irules.core -build_property.ProjectDir = /home/paul/workspace/R/irules/irules.core/ diff --git a/irules.core/obj/Debug/net7.0-ios/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs b/irules.core/obj/Debug/net7.0-ios/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs deleted file mode 100644 index d69481d..0000000 --- a/irules.core/obj/Debug/net7.0-ios/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] diff --git a/irules.core/obj/Debug/net7.0-ios/irules.core.AssemblyInfo.cs b/irules.core/obj/Debug/net7.0-ios/irules.core.AssemblyInfo.cs deleted file mode 100644 index 0d5eacd..0000000 --- a/irules.core/obj/Debug/net7.0-ios/irules.core.AssemblyInfo.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// 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("irules.core")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("irules.core")] -[assembly: System.Reflection.AssemblyTitleAttribute("irules.core")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] -[assembly: System.Runtime.Versioning.TargetPlatformAttribute("ios0.0")] -[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("ios")] - -// Généré par la classe MSBuild WriteCodeFragment. - diff --git a/irules.core/obj/Debug/net7.0-ios/irules.core.AssemblyInfoInputs.cache b/irules.core/obj/Debug/net7.0-ios/irules.core.AssemblyInfoInputs.cache deleted file mode 100644 index e2644c5..0000000 --- a/irules.core/obj/Debug/net7.0-ios/irules.core.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -4ac4c42ec4fad313ee1c85b9018116829e688d0a diff --git a/irules.core/obj/Debug/net7.0-ios/irules.core.GeneratedMSBuildEditorConfig.editorconfig b/irules.core/obj/Debug/net7.0-ios/irules.core.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index d5302ad..0000000 --- a/irules.core/obj/Debug/net7.0-ios/irules.core.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,11 +0,0 @@ -is_global = true -build_property.TargetFramework = net7.0-ios -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = irules.core -build_property.ProjectDir = /home/paul/workspace/R/irules/irules.core/ diff --git a/irules.core/obj/Debug/net7.0-maccatalyst/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs b/irules.core/obj/Debug/net7.0-maccatalyst/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs deleted file mode 100644 index d69481d..0000000 --- a/irules.core/obj/Debug/net7.0-maccatalyst/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] diff --git a/irules.core/obj/Debug/net7.0-maccatalyst/irules.core.AssemblyInfo.cs b/irules.core/obj/Debug/net7.0-maccatalyst/irules.core.AssemblyInfo.cs deleted file mode 100644 index 693d288..0000000 --- a/irules.core/obj/Debug/net7.0-maccatalyst/irules.core.AssemblyInfo.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// 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("irules.core")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("irules.core")] -[assembly: System.Reflection.AssemblyTitleAttribute("irules.core")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] -[assembly: System.Runtime.Versioning.TargetPlatformAttribute("maccatalyst0.0")] -[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("maccatalyst")] - -// Généré par la classe MSBuild WriteCodeFragment. - diff --git a/irules.core/obj/Debug/net7.0-maccatalyst/irules.core.AssemblyInfoInputs.cache b/irules.core/obj/Debug/net7.0-maccatalyst/irules.core.AssemblyInfoInputs.cache deleted file mode 100644 index 77cf93d..0000000 --- a/irules.core/obj/Debug/net7.0-maccatalyst/irules.core.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -e4bd32323a4d7b04142fcbc955fab89b3c964759 diff --git a/irules.core/obj/Debug/net7.0-maccatalyst/irules.core.GeneratedMSBuildEditorConfig.editorconfig b/irules.core/obj/Debug/net7.0-maccatalyst/irules.core.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index b4ac62d..0000000 --- a/irules.core/obj/Debug/net7.0-maccatalyst/irules.core.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,11 +0,0 @@ -is_global = true -build_property.TargetFramework = net7.0-maccatalyst -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = irules.core -build_property.ProjectDir = /home/paul/workspace/R/irules/irules.core/ diff --git a/irules.core/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs b/irules.core/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs deleted file mode 100644 index d69481d..0000000 --- a/irules.core/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] diff --git a/irules.core/obj/Debug/net7.0/irules.core.AssemblyInfo.cs b/irules.core/obj/Debug/net7.0/irules.core.AssemblyInfo.cs deleted file mode 100644 index 5ad01a2..0000000 --- a/irules.core/obj/Debug/net7.0/irules.core.AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// 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("irules.core")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("irules.core")] -[assembly: System.Reflection.AssemblyTitleAttribute("irules.core")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Généré par la classe MSBuild WriteCodeFragment. - diff --git a/irules.core/obj/Debug/net7.0/irules.core.AssemblyInfoInputs.cache b/irules.core/obj/Debug/net7.0/irules.core.AssemblyInfoInputs.cache deleted file mode 100644 index c0f88bd..0000000 --- a/irules.core/obj/Debug/net7.0/irules.core.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -67af2805439634152f9d4fe058650a29803e461d diff --git a/irules.core/obj/Debug/net7.0/irules.core.GeneratedMSBuildEditorConfig.editorconfig b/irules.core/obj/Debug/net7.0/irules.core.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 59f1264..0000000 --- a/irules.core/obj/Debug/net7.0/irules.core.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,11 +0,0 @@ -is_global = true -build_property.TargetFramework = net7.0 -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = irules.core -build_property.ProjectDir = /home/paul/workspace/R/irules/irules.core/ diff --git a/irules.core/obj/Debug/net7.0/irules.core.csproj.FileListAbsolute.txt b/irules.core/obj/Debug/net7.0/irules.core.csproj.FileListAbsolute.txt deleted file mode 100644 index e69de29..0000000 diff --git a/irules.core/obj/irules.core.csproj.nuget.dgspec.json b/irules.core/obj/irules.core.csproj.nuget.dgspec.json deleted file mode 100644 index 362a228..0000000 --- a/irules.core/obj/irules.core.csproj.nuget.dgspec.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "format": 1, - "restore": { - "/home/paul/workspace/R/irules/irules.core/irules.core.csproj": {} - }, - "projects": { - "/home/paul/workspace/R/irules/irules.core/irules.core.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "/home/paul/workspace/R/irules/irules.core/irules.core.csproj", - "projectName": "irules.core", - "projectPath": "/home/paul/workspace/R/irules/irules.core/irules.core.csproj", - "packagesPath": "/home/paul/.nuget/packages", - "outputPath": "/home/paul/workspace/R/irules/irules.core/obj/", - "projectStyle": "PackageReference", - "crossTargeting": true, - "fallbackFolders": [ - "/usr/share/dotnet/sdk/NuGetFallbackFolder" - ], - "configFilePaths": [ - "/home/paul/.nuget/NuGet/NuGet.Config" - ], - "originalTargetFrameworks": [ - "net472" - ], - "sources": { - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net472": { - "targetAlias": "net472", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net472": { - "targetAlias": "net472", - "dependencies": { - "Irony": { - "target": "Package", - "version": "[1.2.0, )" - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "suppressParent": "All", - "target": "Package", - "version": "[1.0.3, )", - "autoReferenced": true - } - }, - "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/7.0.403/RuntimeIdentifierGraph.json" - } - } - } - } -} \ No newline at end of file diff --git a/irules.core/obj/irules.core.csproj.nuget.g.props b/irules.core/obj/irules.core.csproj.nuget.g.props deleted file mode 100644 index 3f47571..0000000 --- a/irules.core/obj/irules.core.csproj.nuget.g.props +++ /dev/null @@ -1,16 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - /home/paul/.nuget/packages - /home/paul/.nuget/packages;/usr/share/dotnet/sdk/NuGetFallbackFolder - PackageReference - 6.7.0 - - - - - - \ No newline at end of file diff --git a/irules.core/obj/irules.core.csproj.nuget.g.targets b/irules.core/obj/irules.core.csproj.nuget.g.targets deleted file mode 100644 index 7e0cb49..0000000 --- a/irules.core/obj/irules.core.csproj.nuget.g.targets +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/irules.core/obj/project.assets.json b/irules.core/obj/project.assets.json deleted file mode 100644 index 62251d2..0000000 --- a/irules.core/obj/project.assets.json +++ /dev/null @@ -1,496 +0,0 @@ -{ - "version": 3, - "targets": { - ".NETFramework,Version=v4.7.2": { - "Irony/1.2.0": { - "type": "package", - "compile": { - "lib/netstandard2.0/Irony.dll": {} - }, - "runtime": { - "lib/netstandard2.0/Irony.dll": {} - } - }, - "Microsoft.NETFramework.ReferenceAssemblies/1.0.3": { - "type": "package", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net472": "1.0.3" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies.net472/1.0.3": { - "type": "package", - "build": { - "build/Microsoft.NETFramework.ReferenceAssemblies.net472.targets": {} - } - } - } - }, - "libraries": { - "Irony/1.2.0": { - "sha512": "xobL8fbz01pOacoWPjBw1K1tT4Sell3n0nQlutAGpqJ7R3sEoL+pB1gkWUBm1NcfQ7EAyPfIcAt4LVvAQhB7tg==", - "type": "package", - "path": "irony/1.2.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "irony.1.2.0.nupkg.sha512", - "irony.nuspec", - "lib/netstandard2.0/Irony.dll" - ] - }, - "Microsoft.NETFramework.ReferenceAssemblies/1.0.3": { - "sha512": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "type": "package", - "path": "microsoft.netframework.referenceassemblies/1.0.3", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "microsoft.netframework.referenceassemblies.1.0.3.nupkg.sha512", - "microsoft.netframework.referenceassemblies.nuspec" - ] - }, - "Microsoft.NETFramework.ReferenceAssemblies.net472/1.0.3": { - "sha512": "0E7evZXHXaDYYiLRfpyXvCh+yzM2rNTyuZDI+ZO7UUqSc6GfjePiXTdqJGtgIKUwdI81tzQKmaWprnUiPj9hAw==", - "type": "package", - "path": "microsoft.netframework.referenceassemblies.net472/1.0.3", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "build/.NETFramework/v4.7.2/Accessibility.dll", - "build/.NETFramework/v4.7.2/Accessibility.xml", - "build/.NETFramework/v4.7.2/CustomMarshalers.dll", - "build/.NETFramework/v4.7.2/CustomMarshalers.xml", - "build/.NETFramework/v4.7.2/Facades/Microsoft.Win32.Primitives.dll", - "build/.NETFramework/v4.7.2/Facades/System.AppContext.dll", - "build/.NETFramework/v4.7.2/Facades/System.Collections.Concurrent.dll", - "build/.NETFramework/v4.7.2/Facades/System.Collections.NonGeneric.dll", - "build/.NETFramework/v4.7.2/Facades/System.Collections.Specialized.dll", - "build/.NETFramework/v4.7.2/Facades/System.Collections.dll", - "build/.NETFramework/v4.7.2/Facades/System.ComponentModel.Annotations.dll", - "build/.NETFramework/v4.7.2/Facades/System.ComponentModel.EventBasedAsync.dll", - "build/.NETFramework/v4.7.2/Facades/System.ComponentModel.Primitives.dll", - "build/.NETFramework/v4.7.2/Facades/System.ComponentModel.TypeConverter.dll", - "build/.NETFramework/v4.7.2/Facades/System.ComponentModel.dll", - "build/.NETFramework/v4.7.2/Facades/System.Console.dll", - "build/.NETFramework/v4.7.2/Facades/System.Data.Common.dll", - "build/.NETFramework/v4.7.2/Facades/System.Diagnostics.Contracts.dll", - "build/.NETFramework/v4.7.2/Facades/System.Diagnostics.Debug.dll", - "build/.NETFramework/v4.7.2/Facades/System.Diagnostics.FileVersionInfo.dll", - "build/.NETFramework/v4.7.2/Facades/System.Diagnostics.Process.dll", - "build/.NETFramework/v4.7.2/Facades/System.Diagnostics.StackTrace.dll", - "build/.NETFramework/v4.7.2/Facades/System.Diagnostics.TextWriterTraceListener.dll", - "build/.NETFramework/v4.7.2/Facades/System.Diagnostics.Tools.dll", - "build/.NETFramework/v4.7.2/Facades/System.Diagnostics.TraceSource.dll", - "build/.NETFramework/v4.7.2/Facades/System.Drawing.Primitives.dll", - "build/.NETFramework/v4.7.2/Facades/System.Dynamic.Runtime.dll", - "build/.NETFramework/v4.7.2/Facades/System.Globalization.Calendars.dll", - "build/.NETFramework/v4.7.2/Facades/System.Globalization.Extensions.dll", - "build/.NETFramework/v4.7.2/Facades/System.Globalization.dll", - "build/.NETFramework/v4.7.2/Facades/System.IO.Compression.ZipFile.dll", - "build/.NETFramework/v4.7.2/Facades/System.IO.FileSystem.DriveInfo.dll", - "build/.NETFramework/v4.7.2/Facades/System.IO.FileSystem.Primitives.dll", - "build/.NETFramework/v4.7.2/Facades/System.IO.FileSystem.Watcher.dll", - "build/.NETFramework/v4.7.2/Facades/System.IO.FileSystem.dll", - "build/.NETFramework/v4.7.2/Facades/System.IO.IsolatedStorage.dll", - "build/.NETFramework/v4.7.2/Facades/System.IO.MemoryMappedFiles.dll", - "build/.NETFramework/v4.7.2/Facades/System.IO.Pipes.dll", - "build/.NETFramework/v4.7.2/Facades/System.IO.UnmanagedMemoryStream.dll", - "build/.NETFramework/v4.7.2/Facades/System.IO.dll", - "build/.NETFramework/v4.7.2/Facades/System.Linq.Expressions.dll", - "build/.NETFramework/v4.7.2/Facades/System.Linq.Parallel.dll", - "build/.NETFramework/v4.7.2/Facades/System.Linq.Queryable.dll", - "build/.NETFramework/v4.7.2/Facades/System.Linq.dll", - "build/.NETFramework/v4.7.2/Facades/System.Net.Http.Rtc.dll", - "build/.NETFramework/v4.7.2/Facades/System.Net.NameResolution.dll", - "build/.NETFramework/v4.7.2/Facades/System.Net.NetworkInformation.dll", - "build/.NETFramework/v4.7.2/Facades/System.Net.Ping.dll", - "build/.NETFramework/v4.7.2/Facades/System.Net.Primitives.dll", - "build/.NETFramework/v4.7.2/Facades/System.Net.Requests.dll", - "build/.NETFramework/v4.7.2/Facades/System.Net.Security.dll", - "build/.NETFramework/v4.7.2/Facades/System.Net.Sockets.dll", - "build/.NETFramework/v4.7.2/Facades/System.Net.WebHeaderCollection.dll", - "build/.NETFramework/v4.7.2/Facades/System.Net.WebSockets.Client.dll", - "build/.NETFramework/v4.7.2/Facades/System.Net.WebSockets.dll", - "build/.NETFramework/v4.7.2/Facades/System.ObjectModel.dll", - "build/.NETFramework/v4.7.2/Facades/System.Reflection.Emit.ILGeneration.dll", - "build/.NETFramework/v4.7.2/Facades/System.Reflection.Emit.Lightweight.dll", - "build/.NETFramework/v4.7.2/Facades/System.Reflection.Emit.dll", - "build/.NETFramework/v4.7.2/Facades/System.Reflection.Extensions.dll", - "build/.NETFramework/v4.7.2/Facades/System.Reflection.Primitives.dll", - "build/.NETFramework/v4.7.2/Facades/System.Reflection.dll", - "build/.NETFramework/v4.7.2/Facades/System.Resources.Reader.dll", - "build/.NETFramework/v4.7.2/Facades/System.Resources.ResourceManager.dll", - "build/.NETFramework/v4.7.2/Facades/System.Resources.Writer.dll", - "build/.NETFramework/v4.7.2/Facades/System.Runtime.CompilerServices.VisualC.dll", - "build/.NETFramework/v4.7.2/Facades/System.Runtime.Extensions.dll", - "build/.NETFramework/v4.7.2/Facades/System.Runtime.Handles.dll", - "build/.NETFramework/v4.7.2/Facades/System.Runtime.InteropServices.RuntimeInformation.dll", - "build/.NETFramework/v4.7.2/Facades/System.Runtime.InteropServices.WindowsRuntime.dll", - "build/.NETFramework/v4.7.2/Facades/System.Runtime.InteropServices.dll", - "build/.NETFramework/v4.7.2/Facades/System.Runtime.Numerics.dll", - "build/.NETFramework/v4.7.2/Facades/System.Runtime.Serialization.Formatters.dll", - "build/.NETFramework/v4.7.2/Facades/System.Runtime.Serialization.Json.dll", - "build/.NETFramework/v4.7.2/Facades/System.Runtime.Serialization.Primitives.dll", - "build/.NETFramework/v4.7.2/Facades/System.Runtime.Serialization.Xml.dll", - "build/.NETFramework/v4.7.2/Facades/System.Runtime.dll", - "build/.NETFramework/v4.7.2/Facades/System.Security.Claims.dll", - "build/.NETFramework/v4.7.2/Facades/System.Security.Cryptography.Algorithms.dll", - "build/.NETFramework/v4.7.2/Facades/System.Security.Cryptography.Csp.dll", - "build/.NETFramework/v4.7.2/Facades/System.Security.Cryptography.Encoding.dll", - "build/.NETFramework/v4.7.2/Facades/System.Security.Cryptography.Primitives.dll", - "build/.NETFramework/v4.7.2/Facades/System.Security.Cryptography.X509Certificates.dll", - "build/.NETFramework/v4.7.2/Facades/System.Security.Principal.dll", - "build/.NETFramework/v4.7.2/Facades/System.Security.SecureString.dll", - "build/.NETFramework/v4.7.2/Facades/System.ServiceModel.Duplex.dll", - "build/.NETFramework/v4.7.2/Facades/System.ServiceModel.Http.dll", - "build/.NETFramework/v4.7.2/Facades/System.ServiceModel.NetTcp.dll", - "build/.NETFramework/v4.7.2/Facades/System.ServiceModel.Primitives.dll", - "build/.NETFramework/v4.7.2/Facades/System.ServiceModel.Security.dll", - "build/.NETFramework/v4.7.2/Facades/System.Text.Encoding.Extensions.dll", - "build/.NETFramework/v4.7.2/Facades/System.Text.Encoding.dll", - "build/.NETFramework/v4.7.2/Facades/System.Text.RegularExpressions.dll", - "build/.NETFramework/v4.7.2/Facades/System.Threading.Overlapped.dll", - "build/.NETFramework/v4.7.2/Facades/System.Threading.Tasks.Parallel.dll", - "build/.NETFramework/v4.7.2/Facades/System.Threading.Tasks.dll", - "build/.NETFramework/v4.7.2/Facades/System.Threading.Thread.dll", - "build/.NETFramework/v4.7.2/Facades/System.Threading.ThreadPool.dll", - "build/.NETFramework/v4.7.2/Facades/System.Threading.Timer.dll", - "build/.NETFramework/v4.7.2/Facades/System.Threading.dll", - "build/.NETFramework/v4.7.2/Facades/System.ValueTuple.dll", - "build/.NETFramework/v4.7.2/Facades/System.Xml.ReaderWriter.dll", - "build/.NETFramework/v4.7.2/Facades/System.Xml.XDocument.dll", - "build/.NETFramework/v4.7.2/Facades/System.Xml.XPath.XDocument.dll", - "build/.NETFramework/v4.7.2/Facades/System.Xml.XPath.dll", - "build/.NETFramework/v4.7.2/Facades/System.Xml.XmlDocument.dll", - "build/.NETFramework/v4.7.2/Facades/System.Xml.XmlSerializer.dll", - "build/.NETFramework/v4.7.2/Facades/netstandard.dll", - "build/.NETFramework/v4.7.2/ISymWrapper.dll", - "build/.NETFramework/v4.7.2/ISymWrapper.xml", - "build/.NETFramework/v4.7.2/Microsoft.Activities.Build.dll", - "build/.NETFramework/v4.7.2/Microsoft.Activities.Build.xml", - "build/.NETFramework/v4.7.2/Microsoft.Build.Conversion.v4.0.dll", - "build/.NETFramework/v4.7.2/Microsoft.Build.Conversion.v4.0.xml", - "build/.NETFramework/v4.7.2/Microsoft.Build.Engine.dll", - "build/.NETFramework/v4.7.2/Microsoft.Build.Engine.xml", - "build/.NETFramework/v4.7.2/Microsoft.Build.Framework.dll", - "build/.NETFramework/v4.7.2/Microsoft.Build.Framework.xml", - "build/.NETFramework/v4.7.2/Microsoft.Build.Tasks.v4.0.dll", - "build/.NETFramework/v4.7.2/Microsoft.Build.Tasks.v4.0.xml", - "build/.NETFramework/v4.7.2/Microsoft.Build.Utilities.v4.0.dll", - "build/.NETFramework/v4.7.2/Microsoft.Build.Utilities.v4.0.xml", - "build/.NETFramework/v4.7.2/Microsoft.Build.dll", - "build/.NETFramework/v4.7.2/Microsoft.Build.xml", - "build/.NETFramework/v4.7.2/Microsoft.CSharp.dll", - "build/.NETFramework/v4.7.2/Microsoft.CSharp.xml", - "build/.NETFramework/v4.7.2/Microsoft.JScript.dll", - "build/.NETFramework/v4.7.2/Microsoft.JScript.xml", - "build/.NETFramework/v4.7.2/Microsoft.VisualBasic.Compatibility.Data.dll", - "build/.NETFramework/v4.7.2/Microsoft.VisualBasic.Compatibility.Data.xml", - "build/.NETFramework/v4.7.2/Microsoft.VisualBasic.Compatibility.dll", - "build/.NETFramework/v4.7.2/Microsoft.VisualBasic.Compatibility.xml", - "build/.NETFramework/v4.7.2/Microsoft.VisualBasic.dll", - "build/.NETFramework/v4.7.2/Microsoft.VisualBasic.xml", - "build/.NETFramework/v4.7.2/Microsoft.VisualC.STLCLR.dll", - "build/.NETFramework/v4.7.2/Microsoft.VisualC.STLCLR.xml", - "build/.NETFramework/v4.7.2/Microsoft.VisualC.dll", - "build/.NETFramework/v4.7.2/Microsoft.VisualC.xml", - "build/.NETFramework/v4.7.2/PermissionSets/FullTrust.xml", - "build/.NETFramework/v4.7.2/PermissionSets/Internet.xml", - "build/.NETFramework/v4.7.2/PermissionSets/LocalIntranet.xml", - "build/.NETFramework/v4.7.2/PresentationBuildTasks.dll", - "build/.NETFramework/v4.7.2/PresentationBuildTasks.xml", - "build/.NETFramework/v4.7.2/PresentationCore.dll", - "build/.NETFramework/v4.7.2/PresentationCore.xml", - "build/.NETFramework/v4.7.2/PresentationFramework.Aero.dll", - "build/.NETFramework/v4.7.2/PresentationFramework.Aero.xml", - "build/.NETFramework/v4.7.2/PresentationFramework.Aero2.dll", - "build/.NETFramework/v4.7.2/PresentationFramework.Aero2.xml", - "build/.NETFramework/v4.7.2/PresentationFramework.AeroLite.dll", - "build/.NETFramework/v4.7.2/PresentationFramework.AeroLite.xml", - "build/.NETFramework/v4.7.2/PresentationFramework.Classic.dll", - "build/.NETFramework/v4.7.2/PresentationFramework.Classic.xml", - "build/.NETFramework/v4.7.2/PresentationFramework.Luna.dll", - "build/.NETFramework/v4.7.2/PresentationFramework.Luna.xml", - "build/.NETFramework/v4.7.2/PresentationFramework.Royale.dll", - "build/.NETFramework/v4.7.2/PresentationFramework.Royale.xml", - "build/.NETFramework/v4.7.2/PresentationFramework.dll", - "build/.NETFramework/v4.7.2/PresentationFramework.xml", - "build/.NETFramework/v4.7.2/ReachFramework.dll", - "build/.NETFramework/v4.7.2/ReachFramework.xml", - "build/.NETFramework/v4.7.2/RedistList/FrameworkList.xml", - "build/.NETFramework/v4.7.2/System.Activities.Core.Presentation.dll", - "build/.NETFramework/v4.7.2/System.Activities.Core.Presentation.xml", - "build/.NETFramework/v4.7.2/System.Activities.DurableInstancing.dll", - "build/.NETFramework/v4.7.2/System.Activities.DurableInstancing.xml", - "build/.NETFramework/v4.7.2/System.Activities.Presentation.dll", - "build/.NETFramework/v4.7.2/System.Activities.Presentation.xml", - "build/.NETFramework/v4.7.2/System.Activities.dll", - "build/.NETFramework/v4.7.2/System.Activities.xml", - "build/.NETFramework/v4.7.2/System.AddIn.Contract.dll", - "build/.NETFramework/v4.7.2/System.AddIn.Contract.xml", - "build/.NETFramework/v4.7.2/System.AddIn.dll", - "build/.NETFramework/v4.7.2/System.AddIn.xml", - "build/.NETFramework/v4.7.2/System.ComponentModel.Composition.Registration.dll", - "build/.NETFramework/v4.7.2/System.ComponentModel.Composition.Registration.xml", - "build/.NETFramework/v4.7.2/System.ComponentModel.Composition.dll", - "build/.NETFramework/v4.7.2/System.ComponentModel.Composition.xml", - "build/.NETFramework/v4.7.2/System.ComponentModel.DataAnnotations.dll", - "build/.NETFramework/v4.7.2/System.ComponentModel.DataAnnotations.xml", - "build/.NETFramework/v4.7.2/System.Configuration.Install.dll", - "build/.NETFramework/v4.7.2/System.Configuration.Install.xml", - "build/.NETFramework/v4.7.2/System.Configuration.dll", - "build/.NETFramework/v4.7.2/System.Configuration.xml", - "build/.NETFramework/v4.7.2/System.Core.dll", - "build/.NETFramework/v4.7.2/System.Core.xml", - "build/.NETFramework/v4.7.2/System.Data.DataSetExtensions.dll", - "build/.NETFramework/v4.7.2/System.Data.DataSetExtensions.xml", - "build/.NETFramework/v4.7.2/System.Data.Entity.Design.dll", - "build/.NETFramework/v4.7.2/System.Data.Entity.Design.xml", - "build/.NETFramework/v4.7.2/System.Data.Entity.dll", - "build/.NETFramework/v4.7.2/System.Data.Entity.xml", - "build/.NETFramework/v4.7.2/System.Data.Linq.dll", - "build/.NETFramework/v4.7.2/System.Data.Linq.xml", - "build/.NETFramework/v4.7.2/System.Data.OracleClient.dll", - "build/.NETFramework/v4.7.2/System.Data.OracleClient.xml", - "build/.NETFramework/v4.7.2/System.Data.Services.Client.dll", - "build/.NETFramework/v4.7.2/System.Data.Services.Client.xml", - "build/.NETFramework/v4.7.2/System.Data.Services.Design.dll", - "build/.NETFramework/v4.7.2/System.Data.Services.Design.xml", - "build/.NETFramework/v4.7.2/System.Data.Services.dll", - "build/.NETFramework/v4.7.2/System.Data.Services.xml", - "build/.NETFramework/v4.7.2/System.Data.SqlXml.dll", - "build/.NETFramework/v4.7.2/System.Data.SqlXml.xml", - "build/.NETFramework/v4.7.2/System.Data.dll", - "build/.NETFramework/v4.7.2/System.Data.xml", - "build/.NETFramework/v4.7.2/System.Deployment.dll", - "build/.NETFramework/v4.7.2/System.Deployment.xml", - "build/.NETFramework/v4.7.2/System.Design.dll", - "build/.NETFramework/v4.7.2/System.Design.xml", - "build/.NETFramework/v4.7.2/System.Device.dll", - "build/.NETFramework/v4.7.2/System.Device.xml", - "build/.NETFramework/v4.7.2/System.Diagnostics.Tracing.dll", - "build/.NETFramework/v4.7.2/System.Diagnostics.Tracing.xml", - "build/.NETFramework/v4.7.2/System.DirectoryServices.AccountManagement.dll", - "build/.NETFramework/v4.7.2/System.DirectoryServices.AccountManagement.xml", - "build/.NETFramework/v4.7.2/System.DirectoryServices.Protocols.dll", - "build/.NETFramework/v4.7.2/System.DirectoryServices.Protocols.xml", - "build/.NETFramework/v4.7.2/System.DirectoryServices.dll", - "build/.NETFramework/v4.7.2/System.DirectoryServices.xml", - "build/.NETFramework/v4.7.2/System.Drawing.Design.dll", - "build/.NETFramework/v4.7.2/System.Drawing.Design.xml", - "build/.NETFramework/v4.7.2/System.Drawing.dll", - "build/.NETFramework/v4.7.2/System.Drawing.xml", - "build/.NETFramework/v4.7.2/System.Dynamic.dll", - "build/.NETFramework/v4.7.2/System.EnterpriseServices.Thunk.dll", - "build/.NETFramework/v4.7.2/System.EnterpriseServices.Wrapper.dll", - "build/.NETFramework/v4.7.2/System.EnterpriseServices.dll", - "build/.NETFramework/v4.7.2/System.EnterpriseServices.xml", - "build/.NETFramework/v4.7.2/System.IO.Compression.FileSystem.dll", - "build/.NETFramework/v4.7.2/System.IO.Compression.FileSystem.xml", - "build/.NETFramework/v4.7.2/System.IO.Compression.dll", - "build/.NETFramework/v4.7.2/System.IO.Compression.xml", - "build/.NETFramework/v4.7.2/System.IO.Log.dll", - "build/.NETFramework/v4.7.2/System.IO.Log.xml", - "build/.NETFramework/v4.7.2/System.IdentityModel.Selectors.dll", - "build/.NETFramework/v4.7.2/System.IdentityModel.Selectors.xml", - "build/.NETFramework/v4.7.2/System.IdentityModel.Services.dll", - "build/.NETFramework/v4.7.2/System.IdentityModel.Services.xml", - "build/.NETFramework/v4.7.2/System.IdentityModel.dll", - "build/.NETFramework/v4.7.2/System.IdentityModel.xml", - "build/.NETFramework/v4.7.2/System.Linq.xml", - "build/.NETFramework/v4.7.2/System.Management.Instrumentation.dll", - "build/.NETFramework/v4.7.2/System.Management.Instrumentation.xml", - "build/.NETFramework/v4.7.2/System.Management.dll", - "build/.NETFramework/v4.7.2/System.Management.xml", - "build/.NETFramework/v4.7.2/System.Messaging.dll", - "build/.NETFramework/v4.7.2/System.Messaging.xml", - "build/.NETFramework/v4.7.2/System.Net.Http.WebRequest.dll", - "build/.NETFramework/v4.7.2/System.Net.Http.WebRequest.xml", - "build/.NETFramework/v4.7.2/System.Net.Http.dll", - "build/.NETFramework/v4.7.2/System.Net.Http.xml", - "build/.NETFramework/v4.7.2/System.Net.dll", - "build/.NETFramework/v4.7.2/System.Net.xml", - "build/.NETFramework/v4.7.2/System.Numerics.dll", - "build/.NETFramework/v4.7.2/System.Numerics.xml", - "build/.NETFramework/v4.7.2/System.Printing.dll", - "build/.NETFramework/v4.7.2/System.Printing.xml", - "build/.NETFramework/v4.7.2/System.Reflection.Context.dll", - "build/.NETFramework/v4.7.2/System.Reflection.Context.xml", - "build/.NETFramework/v4.7.2/System.Runtime.Caching.dll", - "build/.NETFramework/v4.7.2/System.Runtime.Caching.xml", - "build/.NETFramework/v4.7.2/System.Runtime.DurableInstancing.dll", - "build/.NETFramework/v4.7.2/System.Runtime.DurableInstancing.xml", - "build/.NETFramework/v4.7.2/System.Runtime.Remoting.dll", - "build/.NETFramework/v4.7.2/System.Runtime.Remoting.xml", - "build/.NETFramework/v4.7.2/System.Runtime.Serialization.Formatters.Soap.dll", - "build/.NETFramework/v4.7.2/System.Runtime.Serialization.Formatters.Soap.xml", - "build/.NETFramework/v4.7.2/System.Runtime.Serialization.dll", - "build/.NETFramework/v4.7.2/System.Runtime.Serialization.xml", - "build/.NETFramework/v4.7.2/System.Security.dll", - "build/.NETFramework/v4.7.2/System.Security.xml", - "build/.NETFramework/v4.7.2/System.ServiceModel.Activation.dll", - "build/.NETFramework/v4.7.2/System.ServiceModel.Activation.xml", - "build/.NETFramework/v4.7.2/System.ServiceModel.Activities.dll", - "build/.NETFramework/v4.7.2/System.ServiceModel.Activities.xml", - "build/.NETFramework/v4.7.2/System.ServiceModel.Channels.dll", - "build/.NETFramework/v4.7.2/System.ServiceModel.Channels.xml", - "build/.NETFramework/v4.7.2/System.ServiceModel.Discovery.dll", - "build/.NETFramework/v4.7.2/System.ServiceModel.Discovery.xml", - "build/.NETFramework/v4.7.2/System.ServiceModel.Routing.dll", - "build/.NETFramework/v4.7.2/System.ServiceModel.Routing.xml", - "build/.NETFramework/v4.7.2/System.ServiceModel.Web.dll", - "build/.NETFramework/v4.7.2/System.ServiceModel.Web.xml", - "build/.NETFramework/v4.7.2/System.ServiceModel.dll", - "build/.NETFramework/v4.7.2/System.ServiceModel.xml", - "build/.NETFramework/v4.7.2/System.ServiceProcess.dll", - "build/.NETFramework/v4.7.2/System.ServiceProcess.xml", - "build/.NETFramework/v4.7.2/System.Speech.dll", - "build/.NETFramework/v4.7.2/System.Speech.xml", - "build/.NETFramework/v4.7.2/System.Threading.Tasks.Dataflow.xml", - "build/.NETFramework/v4.7.2/System.Transactions.dll", - "build/.NETFramework/v4.7.2/System.Transactions.xml", - "build/.NETFramework/v4.7.2/System.Web.Abstractions.dll", - "build/.NETFramework/v4.7.2/System.Web.ApplicationServices.dll", - "build/.NETFramework/v4.7.2/System.Web.ApplicationServices.xml", - "build/.NETFramework/v4.7.2/System.Web.DataVisualization.Design.dll", - "build/.NETFramework/v4.7.2/System.Web.DataVisualization.dll", - "build/.NETFramework/v4.7.2/System.Web.DataVisualization.xml", - "build/.NETFramework/v4.7.2/System.Web.DynamicData.Design.dll", - "build/.NETFramework/v4.7.2/System.Web.DynamicData.Design.xml", - "build/.NETFramework/v4.7.2/System.Web.DynamicData.dll", - "build/.NETFramework/v4.7.2/System.Web.DynamicData.xml", - "build/.NETFramework/v4.7.2/System.Web.Entity.Design.dll", - "build/.NETFramework/v4.7.2/System.Web.Entity.Design.xml", - "build/.NETFramework/v4.7.2/System.Web.Entity.dll", - "build/.NETFramework/v4.7.2/System.Web.Entity.xml", - "build/.NETFramework/v4.7.2/System.Web.Extensions.Design.dll", - "build/.NETFramework/v4.7.2/System.Web.Extensions.Design.xml", - "build/.NETFramework/v4.7.2/System.Web.Extensions.dll", - "build/.NETFramework/v4.7.2/System.Web.Extensions.xml", - "build/.NETFramework/v4.7.2/System.Web.Mobile.dll", - "build/.NETFramework/v4.7.2/System.Web.Mobile.xml", - "build/.NETFramework/v4.7.2/System.Web.RegularExpressions.dll", - "build/.NETFramework/v4.7.2/System.Web.RegularExpressions.xml", - "build/.NETFramework/v4.7.2/System.Web.Routing.dll", - "build/.NETFramework/v4.7.2/System.Web.Services.dll", - "build/.NETFramework/v4.7.2/System.Web.Services.xml", - "build/.NETFramework/v4.7.2/System.Web.dll", - "build/.NETFramework/v4.7.2/System.Web.xml", - "build/.NETFramework/v4.7.2/System.Windows.Controls.Ribbon.dll", - "build/.NETFramework/v4.7.2/System.Windows.Controls.Ribbon.xml", - "build/.NETFramework/v4.7.2/System.Windows.Forms.DataVisualization.Design.dll", - "build/.NETFramework/v4.7.2/System.Windows.Forms.DataVisualization.dll", - "build/.NETFramework/v4.7.2/System.Windows.Forms.DataVisualization.xml", - "build/.NETFramework/v4.7.2/System.Windows.Forms.dll", - "build/.NETFramework/v4.7.2/System.Windows.Forms.xml", - "build/.NETFramework/v4.7.2/System.Windows.Input.Manipulations.dll", - "build/.NETFramework/v4.7.2/System.Windows.Input.Manipulations.xml", - "build/.NETFramework/v4.7.2/System.Windows.Presentation.dll", - "build/.NETFramework/v4.7.2/System.Windows.Presentation.xml", - "build/.NETFramework/v4.7.2/System.Windows.dll", - "build/.NETFramework/v4.7.2/System.Workflow.Activities.dll", - "build/.NETFramework/v4.7.2/System.Workflow.Activities.xml", - "build/.NETFramework/v4.7.2/System.Workflow.ComponentModel.dll", - "build/.NETFramework/v4.7.2/System.Workflow.ComponentModel.xml", - "build/.NETFramework/v4.7.2/System.Workflow.Runtime.dll", - "build/.NETFramework/v4.7.2/System.Workflow.Runtime.xml", - "build/.NETFramework/v4.7.2/System.WorkflowServices.dll", - "build/.NETFramework/v4.7.2/System.WorkflowServices.xml", - "build/.NETFramework/v4.7.2/System.Xaml.dll", - "build/.NETFramework/v4.7.2/System.Xaml.xml", - "build/.NETFramework/v4.7.2/System.Xml.Linq.dll", - "build/.NETFramework/v4.7.2/System.Xml.Linq.xml", - "build/.NETFramework/v4.7.2/System.Xml.Serialization.dll", - "build/.NETFramework/v4.7.2/System.Xml.dll", - "build/.NETFramework/v4.7.2/System.Xml.xml", - "build/.NETFramework/v4.7.2/System.dll", - "build/.NETFramework/v4.7.2/System.xml", - "build/.NETFramework/v4.7.2/UIAutomationClient.dll", - "build/.NETFramework/v4.7.2/UIAutomationClient.xml", - "build/.NETFramework/v4.7.2/UIAutomationClientsideProviders.dll", - "build/.NETFramework/v4.7.2/UIAutomationClientsideProviders.xml", - "build/.NETFramework/v4.7.2/UIAutomationProvider.dll", - "build/.NETFramework/v4.7.2/UIAutomationProvider.xml", - "build/.NETFramework/v4.7.2/UIAutomationTypes.dll", - "build/.NETFramework/v4.7.2/UIAutomationTypes.xml", - "build/.NETFramework/v4.7.2/WindowsBase.dll", - "build/.NETFramework/v4.7.2/WindowsBase.xml", - "build/.NETFramework/v4.7.2/WindowsFormsIntegration.dll", - "build/.NETFramework/v4.7.2/WindowsFormsIntegration.xml", - "build/.NETFramework/v4.7.2/XamlBuildTask.dll", - "build/.NETFramework/v4.7.2/XamlBuildTask.xml", - "build/.NETFramework/v4.7.2/mscorlib.dll", - "build/.NETFramework/v4.7.2/mscorlib.xml", - "build/.NETFramework/v4.7.2/namespaces.xml", - "build/.NETFramework/v4.7.2/sysglobl.dll", - "build/.NETFramework/v4.7.2/sysglobl.xml", - "build/Microsoft.NETFramework.ReferenceAssemblies.net472.targets", - "microsoft.netframework.referenceassemblies.net472.1.0.3.nupkg.sha512", - "microsoft.netframework.referenceassemblies.net472.nuspec" - ] - } - }, - "projectFileDependencyGroups": { - ".NETFramework,Version=v4.7.2": [ - "Irony >= 1.2.0", - "Microsoft.NETFramework.ReferenceAssemblies >= 1.0.3" - ] - }, - "packageFolders": { - "/home/paul/.nuget/packages": {}, - "/usr/share/dotnet/sdk/NuGetFallbackFolder": {} - }, - "project": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "/home/paul/workspace/R/irules/irules.core/irules.core.csproj", - "projectName": "irules.core", - "projectPath": "/home/paul/workspace/R/irules/irules.core/irules.core.csproj", - "packagesPath": "/home/paul/.nuget/packages", - "outputPath": "/home/paul/workspace/R/irules/irules.core/obj/", - "projectStyle": "PackageReference", - "crossTargeting": true, - "fallbackFolders": [ - "/usr/share/dotnet/sdk/NuGetFallbackFolder" - ], - "configFilePaths": [ - "/home/paul/.nuget/NuGet/NuGet.Config" - ], - "originalTargetFrameworks": [ - "net472" - ], - "sources": { - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net472": { - "targetAlias": "net472", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net472": { - "targetAlias": "net472", - "dependencies": { - "Irony": { - "target": "Package", - "version": "[1.2.0, )" - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "suppressParent": "All", - "target": "Package", - "version": "[1.0.3, )", - "autoReferenced": true - } - }, - "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/7.0.403/RuntimeIdentifierGraph.json" - } - } - } -} \ No newline at end of file diff --git a/irules.core/obj/project.nuget.cache b/irules.core/obj/project.nuget.cache deleted file mode 100644 index 5636497..0000000 --- a/irules.core/obj/project.nuget.cache +++ /dev/null @@ -1,12 +0,0 @@ -{ - "version": 2, - "dgSpecHash": "nFs86paF8o0iAYpbrpMUc0cPJyPmDJkAh8XCQK0exilAd8OJwmXiSoES4NE4w5ldeJL1x1nagM8o53HUvanu0w==", - "success": true, - "projectFilePath": "/home/paul/workspace/R/irules/irules.core/irules.core.csproj", - "expectedPackageFiles": [ - "/home/paul/.nuget/packages/irony/1.2.0/irony.1.2.0.nupkg.sha512", - "/home/paul/.nuget/packages/microsoft.netframework.referenceassemblies/1.0.3/microsoft.netframework.referenceassemblies.1.0.3.nupkg.sha512", - "/home/paul/.nuget/packages/microsoft.netframework.referenceassemblies.net472/1.0.3/microsoft.netframework.referenceassemblies.net472.1.0.3.nupkg.sha512" - ], - "logs": [] -} \ No newline at end of file diff --git a/irules.sln b/irules.sln index 1b512ab..0e524c4 100644 --- a/irules.sln +++ b/irules.sln @@ -11,6 +11,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{6AF0 EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "red", "samples\red\red.csproj", "{BFF7C4CD-F466-44E2-A8B6-2839A9FCFB88}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{7037AD79-D459-48AA-B72E-1999A40E6640}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{C3EE7DFC-6829-4E2C-89D6-3F1C8234BE28}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test.core", "test\test.core\test.core.csproj", "{DA1C56EF-A0F8-4541-B21A-C489CF51A337}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -32,8 +38,15 @@ Global {BFF7C4CD-F466-44E2-A8B6-2839A9FCFB88}.Debug|Any CPU.Build.0 = Debug|Any CPU {BFF7C4CD-F466-44E2-A8B6-2839A9FCFB88}.Release|Any CPU.ActiveCfg = Release|Any CPU {BFF7C4CD-F466-44E2-A8B6-2839A9FCFB88}.Release|Any CPU.Build.0 = Release|Any CPU + {DA1C56EF-A0F8-4541-B21A-C489CF51A337}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DA1C56EF-A0F8-4541-B21A-C489CF51A337}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DA1C56EF-A0F8-4541-B21A-C489CF51A337}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DA1C56EF-A0F8-4541-B21A-C489CF51A337}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(NestedProjects) = preSolution + {8F0F62E0-1F51-42E2-A50B-D55F70078695} = {7037AD79-D459-48AA-B72E-1999A40E6640} + {3EABC2ED-5C8A-47CD-B161-56F04EF06C4A} = {7037AD79-D459-48AA-B72E-1999A40E6640} {BFF7C4CD-F466-44E2-A8B6-2839A9FCFB88} = {6AF0DBF4-41B6-4BA3-84CF-91A17A6DB031} + {DA1C56EF-A0F8-4541-B21A-C489CF51A337} = {C3EE7DFC-6829-4E2C-89D6-3F1C8234BE28} EndGlobalSection EndGlobal diff --git a/irulesc/bin/Debug/irulesc.exe b/irulesc/bin/Debug/irulesc.exe deleted file mode 100644 index 3e65040..0000000 Binary files a/irulesc/bin/Debug/irulesc.exe and /dev/null differ diff --git a/irulesc/bin/Debug/irulesc.pdb b/irulesc/bin/Debug/irulesc.pdb deleted file mode 100644 index cb08fa3..0000000 Binary files a/irulesc/bin/Debug/irulesc.pdb and /dev/null differ diff --git a/irulesc/bin/Debug/net472/irulesc.dll b/irulesc/bin/Debug/net472/irulesc.dll deleted file mode 100644 index 5091137..0000000 Binary files a/irulesc/bin/Debug/net472/irulesc.dll and /dev/null differ diff --git a/irulesc/bin/Debug/net472/irulesc.pdb b/irulesc/bin/Debug/net472/irulesc.pdb deleted file mode 100644 index 4c4e44b..0000000 Binary files a/irulesc/bin/Debug/net472/irulesc.pdb and /dev/null differ diff --git a/irulesc/bin/Debug/net7.0/Irony.dll b/irulesc/bin/Debug/net7.0/Irony.dll deleted file mode 100755 index 986f95f..0000000 Binary files a/irulesc/bin/Debug/net7.0/Irony.dll and /dev/null differ diff --git a/irulesc/bin/Debug/net7.0/irules.core.dll b/irulesc/bin/Debug/net7.0/irules.core.dll deleted file mode 100644 index 6cc7ba2..0000000 Binary files a/irulesc/bin/Debug/net7.0/irules.core.dll and /dev/null differ diff --git a/irulesc/bin/Debug/net7.0/irules.core.pdb b/irulesc/bin/Debug/net7.0/irules.core.pdb deleted file mode 100644 index 34c3177..0000000 Binary files a/irulesc/bin/Debug/net7.0/irules.core.pdb and /dev/null differ diff --git a/irulesc/bin/Debug/net7.0/irulesc b/irulesc/bin/Debug/net7.0/irulesc deleted file mode 100755 index 7ea8f9c..0000000 Binary files a/irulesc/bin/Debug/net7.0/irulesc and /dev/null differ diff --git a/irulesc/bin/Debug/net7.0/irulesc.deps.json b/irulesc/bin/Debug/net7.0/irulesc.deps.json deleted file mode 100644 index f464889..0000000 --- a/irulesc/bin/Debug/net7.0/irulesc.deps.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "runtimeTarget": { - "name": ".NETCoreApp,Version=v7.0", - "signature": "" - }, - "compilationOptions": {}, - "targets": { - ".NETCoreApp,Version=v7.0": { - "irulesc/1.0.0": { - "dependencies": { - "irules.core": "1.0.0" - }, - "runtime": { - "irulesc.dll": {} - } - }, - "Irony/1.2.0": { - "runtime": { - "lib/netstandard2.0/Irony.dll": { - "assemblyVersion": "1.1.0.0", - "fileVersion": "1.1.0.0" - } - } - }, - "irules.core/1.0.0": { - "dependencies": { - "Irony": "1.2.0" - }, - "runtime": { - "irules.core.dll": {} - } - } - } - }, - "libraries": { - "irulesc/1.0.0": { - "type": "project", - "serviceable": false, - "sha512": "" - }, - "Irony/1.2.0": { - "type": "package", - "serviceable": true, - "sha512": "sha512-xobL8fbz01pOacoWPjBw1K1tT4Sell3n0nQlutAGpqJ7R3sEoL+pB1gkWUBm1NcfQ7EAyPfIcAt4LVvAQhB7tg==", - "path": "irony/1.2.0", - "hashPath": "irony.1.2.0.nupkg.sha512" - }, - "irules.core/1.0.0": { - "type": "project", - "serviceable": false, - "sha512": "" - } - } -} \ No newline at end of file diff --git a/irulesc/bin/Debug/net7.0/irulesc.dll b/irulesc/bin/Debug/net7.0/irulesc.dll deleted file mode 100644 index 1b9ee31..0000000 Binary files a/irulesc/bin/Debug/net7.0/irulesc.dll and /dev/null differ diff --git a/irulesc/bin/Debug/net7.0/irulesc.pdb b/irulesc/bin/Debug/net7.0/irulesc.pdb deleted file mode 100644 index 86ad5fe..0000000 Binary files a/irulesc/bin/Debug/net7.0/irulesc.pdb and /dev/null differ diff --git a/irulesc/bin/Debug/net7.0/irulesc.runtimeconfig.json b/irulesc/bin/Debug/net7.0/irulesc.runtimeconfig.json deleted file mode 100644 index 184be8b..0000000 --- a/irulesc/bin/Debug/net7.0/irulesc.runtimeconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "runtimeOptions": { - "tfm": "net7.0", - "framework": { - "name": "Microsoft.NETCore.App", - "version": "7.0.0" - } - } -} \ No newline at end of file diff --git a/irulesc/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttribute.cs b/irulesc/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttribute.cs deleted file mode 100644 index 3954b48..0000000 --- a/irulesc/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttribute.cs +++ /dev/null @@ -1,2 +0,0 @@ -// -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = "")] diff --git a/irulesc/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/irulesc/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3871b18..0000000 --- a/irulesc/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] diff --git a/irulesc/obj/Debug/irulesc.csproj.AssemblyReference.cache b/irulesc/obj/Debug/irulesc.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/irulesc/obj/Debug/irulesc.csproj.AssemblyReference.cache and /dev/null differ diff --git a/irulesc/obj/Debug/irulesc.csproj.CoreCompileInputs.cache b/irulesc/obj/Debug/irulesc.csproj.CoreCompileInputs.cache deleted file mode 100644 index 32e871a..0000000 --- a/irulesc/obj/Debug/irulesc.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -04c9fa068abebf669539a572a60f002bff7bf190 diff --git a/irulesc/obj/Debug/irulesc.csproj.FileListAbsolute.txt b/irulesc/obj/Debug/irulesc.csproj.FileListAbsolute.txt deleted file mode 100644 index b5a68cd..0000000 --- a/irulesc/obj/Debug/irulesc.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,6 +0,0 @@ -/home/paul/workspace/R/irules/irulesc/bin/Debug/irulesc.exe -/home/paul/workspace/R/irules/irulesc/bin/Debug/irulesc.pdb -/home/paul/workspace/R/irules/irulesc/obj/Debug/irulesc.csproj.AssemblyReference.cache -/home/paul/workspace/R/irules/irulesc/obj/Debug/irulesc.csproj.CoreCompileInputs.cache -/home/paul/workspace/R/irules/irulesc/obj/Debug/irulesc.exe -/home/paul/workspace/R/irules/irulesc/obj/Debug/irulesc.pdb diff --git a/irulesc/obj/Debug/irulesc.csproj.FilesWrittenAbsolute.txt b/irulesc/obj/Debug/irulesc.csproj.FilesWrittenAbsolute.txt deleted file mode 100644 index 087ef59..0000000 --- a/irulesc/obj/Debug/irulesc.csproj.FilesWrittenAbsolute.txt +++ /dev/null @@ -1,5 +0,0 @@ -/home/paul/workspace/R/irules/irulesc/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttribute.cs -/home/paul/workspace/R/irules/irulesc/bin/Debug/irulesc.pdb -/home/paul/workspace/R/irules/irulesc/bin/Debug/irulesc.exe -/home/paul/workspace/R/irules/irulesc/obj/Debug/irulesc.exe -/home/paul/workspace/R/irules/irulesc/obj/Debug/irulesc.pdb diff --git a/irulesc/obj/Debug/irulesc.exe b/irulesc/obj/Debug/irulesc.exe deleted file mode 100644 index 3e65040..0000000 Binary files a/irulesc/obj/Debug/irulesc.exe and /dev/null differ diff --git a/irulesc/obj/Debug/irulesc.pdb b/irulesc/obj/Debug/irulesc.pdb deleted file mode 100644 index cb08fa3..0000000 Binary files a/irulesc/obj/Debug/irulesc.pdb and /dev/null differ diff --git a/irulesc/obj/Debug/net472/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/irulesc/obj/Debug/net472/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs deleted file mode 100644 index 3893855..0000000 --- a/irulesc/obj/Debug/net472/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = "")] diff --git a/irulesc/obj/Debug/net472/irulesc.AssemblyInfo.cs b/irulesc/obj/Debug/net472/irulesc.AssemblyInfo.cs deleted file mode 100644 index c3e0ce0..0000000 --- a/irulesc/obj/Debug/net472/irulesc.AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// 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("irulesc")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("irulesc")] -[assembly: System.Reflection.AssemblyTitleAttribute("irulesc")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Généré par la classe MSBuild WriteCodeFragment. - diff --git a/irulesc/obj/Debug/net472/irulesc.AssemblyInfoInputs.cache b/irulesc/obj/Debug/net472/irulesc.AssemblyInfoInputs.cache deleted file mode 100644 index 813abb5..0000000 --- a/irulesc/obj/Debug/net472/irulesc.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -51c4f0870ea0d042715b0fcf9473aead60272da1 diff --git a/irulesc/obj/Debug/net472/irulesc.GeneratedMSBuildEditorConfig.editorconfig b/irulesc/obj/Debug/net472/irulesc.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index d638f6a..0000000 --- a/irulesc/obj/Debug/net472/irulesc.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -is_global = true -build_property.RootNamespace = irulesc -build_property.ProjectDir = /home/paul/workspace/R/irules/irulesc/ diff --git a/irulesc/obj/Debug/net472/irulesc.GlobalUsings.g.cs b/irulesc/obj/Debug/net472/irulesc.GlobalUsings.g.cs deleted file mode 100644 index 8578f3d..0000000 --- a/irulesc/obj/Debug/net472/irulesc.GlobalUsings.g.cs +++ /dev/null @@ -1,8 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; diff --git a/irulesc/obj/Debug/net472/irulesc.assets.cache b/irulesc/obj/Debug/net472/irulesc.assets.cache deleted file mode 100644 index cc00a7e..0000000 Binary files a/irulesc/obj/Debug/net472/irulesc.assets.cache and /dev/null differ diff --git a/irulesc/obj/Debug/net472/irulesc.csproj.AssemblyReference.cache b/irulesc/obj/Debug/net472/irulesc.csproj.AssemblyReference.cache deleted file mode 100644 index b7d7de9..0000000 Binary files a/irulesc/obj/Debug/net472/irulesc.csproj.AssemblyReference.cache and /dev/null differ diff --git a/irulesc/obj/Debug/net472/irulesc.csproj.CoreCompileInputs.cache b/irulesc/obj/Debug/net472/irulesc.csproj.CoreCompileInputs.cache deleted file mode 100644 index 71eadd8..0000000 --- a/irulesc/obj/Debug/net472/irulesc.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -f4a5b24eddfc57c66aba8ab6af7c50c33a0afff6 diff --git a/irulesc/obj/Debug/net472/irulesc.csproj.FileListAbsolute.txt b/irulesc/obj/Debug/net472/irulesc.csproj.FileListAbsolute.txt deleted file mode 100644 index c10e113..0000000 --- a/irulesc/obj/Debug/net472/irulesc.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,8 +0,0 @@ -/home/paul/workspace/R/irules/irulesc/obj/Debug/net472/irulesc.GeneratedMSBuildEditorConfig.editorconfig -/home/paul/workspace/R/irules/irulesc/obj/Debug/net472/irulesc.AssemblyInfoInputs.cache -/home/paul/workspace/R/irules/irulesc/obj/Debug/net472/irulesc.AssemblyInfo.cs -/home/paul/workspace/R/irules/irulesc/obj/Debug/net472/irulesc.csproj.CoreCompileInputs.cache -/home/paul/workspace/R/irules/irulesc/bin/Debug/net472/irulesc.dll -/home/paul/workspace/R/irules/irulesc/bin/Debug/net472/irulesc.pdb -/home/paul/workspace/R/irules/irulesc/obj/Debug/net472/irulesc.dll -/home/paul/workspace/R/irules/irulesc/obj/Debug/net472/irulesc.pdb diff --git a/irulesc/obj/Debug/net472/irulesc.dll b/irulesc/obj/Debug/net472/irulesc.dll deleted file mode 100644 index 5091137..0000000 Binary files a/irulesc/obj/Debug/net472/irulesc.dll and /dev/null differ diff --git a/irulesc/obj/Debug/net472/irulesc.exe.withSupportedRuntime.config b/irulesc/obj/Debug/net472/irulesc.exe.withSupportedRuntime.config deleted file mode 100644 index 8f60dcb..0000000 --- a/irulesc/obj/Debug/net472/irulesc.exe.withSupportedRuntime.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/irulesc/obj/Debug/net472/irulesc.pdb b/irulesc/obj/Debug/net472/irulesc.pdb deleted file mode 100644 index 4c4e44b..0000000 Binary files a/irulesc/obj/Debug/net472/irulesc.pdb and /dev/null differ diff --git a/irulesc/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs b/irulesc/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs deleted file mode 100644 index d69481d..0000000 --- a/irulesc/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] diff --git a/irulesc/obj/Debug/net7.0/apphost b/irulesc/obj/Debug/net7.0/apphost deleted file mode 100755 index 7ea8f9c..0000000 Binary files a/irulesc/obj/Debug/net7.0/apphost and /dev/null differ diff --git a/irulesc/obj/Debug/net7.0/irulesc.AssemblyInfo.cs b/irulesc/obj/Debug/net7.0/irulesc.AssemblyInfo.cs deleted file mode 100644 index c3e0ce0..0000000 --- a/irulesc/obj/Debug/net7.0/irulesc.AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// 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("irulesc")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("irulesc")] -[assembly: System.Reflection.AssemblyTitleAttribute("irulesc")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Généré par la classe MSBuild WriteCodeFragment. - diff --git a/irulesc/obj/Debug/net7.0/irulesc.AssemblyInfoInputs.cache b/irulesc/obj/Debug/net7.0/irulesc.AssemblyInfoInputs.cache deleted file mode 100644 index 813abb5..0000000 --- a/irulesc/obj/Debug/net7.0/irulesc.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -51c4f0870ea0d042715b0fcf9473aead60272da1 diff --git a/irulesc/obj/Debug/net7.0/irulesc.GeneratedMSBuildEditorConfig.editorconfig b/irulesc/obj/Debug/net7.0/irulesc.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 532463d..0000000 --- a/irulesc/obj/Debug/net7.0/irulesc.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,11 +0,0 @@ -is_global = true -build_property.TargetFramework = net7.0 -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = irulesc -build_property.ProjectDir = /home/paul/workspace/R/irules/irulesc/ diff --git a/irulesc/obj/Debug/net7.0/irulesc.GlobalUsings.g.cs b/irulesc/obj/Debug/net7.0/irulesc.GlobalUsings.g.cs deleted file mode 100644 index 8578f3d..0000000 --- a/irulesc/obj/Debug/net7.0/irulesc.GlobalUsings.g.cs +++ /dev/null @@ -1,8 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; diff --git a/irulesc/obj/Debug/net7.0/irulesc.assets.cache b/irulesc/obj/Debug/net7.0/irulesc.assets.cache deleted file mode 100644 index cf173a5..0000000 Binary files a/irulesc/obj/Debug/net7.0/irulesc.assets.cache and /dev/null differ diff --git a/irulesc/obj/Debug/net7.0/irulesc.csproj.AssemblyReference.cache b/irulesc/obj/Debug/net7.0/irulesc.csproj.AssemblyReference.cache deleted file mode 100644 index fb4ad45..0000000 Binary files a/irulesc/obj/Debug/net7.0/irulesc.csproj.AssemblyReference.cache and /dev/null differ diff --git a/irulesc/obj/Debug/net7.0/irulesc.csproj.CopyComplete b/irulesc/obj/Debug/net7.0/irulesc.csproj.CopyComplete deleted file mode 100644 index e69de29..0000000 diff --git a/irulesc/obj/Debug/net7.0/irulesc.csproj.CoreCompileInputs.cache b/irulesc/obj/Debug/net7.0/irulesc.csproj.CoreCompileInputs.cache deleted file mode 100644 index 113a2e0..0000000 --- a/irulesc/obj/Debug/net7.0/irulesc.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -e6f6948d28c0a19b698addc13028afdcfec210ef diff --git a/irulesc/obj/Debug/net7.0/irulesc.csproj.FileListAbsolute.txt b/irulesc/obj/Debug/net7.0/irulesc.csproj.FileListAbsolute.txt deleted file mode 100644 index cf91620..0000000 --- a/irulesc/obj/Debug/net7.0/irulesc.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,19 +0,0 @@ -/home/paul/workspace/R/irules/irulesc/bin/Debug/net7.0/irulesc -/home/paul/workspace/R/irules/irulesc/bin/Debug/net7.0/irulesc.deps.json -/home/paul/workspace/R/irules/irulesc/bin/Debug/net7.0/irulesc.runtimeconfig.json -/home/paul/workspace/R/irules/irulesc/bin/Debug/net7.0/irulesc.dll -/home/paul/workspace/R/irules/irulesc/bin/Debug/net7.0/irulesc.pdb -/home/paul/workspace/R/irules/irulesc/obj/Debug/net7.0/irulesc.GeneratedMSBuildEditorConfig.editorconfig -/home/paul/workspace/R/irules/irulesc/obj/Debug/net7.0/irulesc.AssemblyInfoInputs.cache -/home/paul/workspace/R/irules/irulesc/obj/Debug/net7.0/irulesc.AssemblyInfo.cs -/home/paul/workspace/R/irules/irulesc/obj/Debug/net7.0/irulesc.csproj.CoreCompileInputs.cache -/home/paul/workspace/R/irules/irulesc/obj/Debug/net7.0/irulesc.dll -/home/paul/workspace/R/irules/irulesc/obj/Debug/net7.0/refint/irulesc.dll -/home/paul/workspace/R/irules/irulesc/obj/Debug/net7.0/irulesc.pdb -/home/paul/workspace/R/irules/irulesc/obj/Debug/net7.0/irulesc.genruntimeconfig.cache -/home/paul/workspace/R/irules/irulesc/obj/Debug/net7.0/ref/irulesc.dll -/home/paul/workspace/R/irules/irulesc/bin/Debug/net7.0/Irony.dll -/home/paul/workspace/R/irules/irulesc/bin/Debug/net7.0/irules.core.dll -/home/paul/workspace/R/irules/irulesc/bin/Debug/net7.0/irules.core.pdb -/home/paul/workspace/R/irules/irulesc/obj/Debug/net7.0/irulesc.csproj.AssemblyReference.cache -/home/paul/workspace/R/irules/irulesc/obj/Debug/net7.0/irulesc.csproj.CopyComplete diff --git a/irulesc/obj/Debug/net7.0/irulesc.dll b/irulesc/obj/Debug/net7.0/irulesc.dll deleted file mode 100644 index 1b9ee31..0000000 Binary files a/irulesc/obj/Debug/net7.0/irulesc.dll and /dev/null differ diff --git a/irulesc/obj/Debug/net7.0/irulesc.genruntimeconfig.cache b/irulesc/obj/Debug/net7.0/irulesc.genruntimeconfig.cache deleted file mode 100644 index d22778f..0000000 --- a/irulesc/obj/Debug/net7.0/irulesc.genruntimeconfig.cache +++ /dev/null @@ -1 +0,0 @@ -ff856425ed8e626480d7b5cc17d2b894ccccb91b diff --git a/irulesc/obj/Debug/net7.0/irulesc.pdb b/irulesc/obj/Debug/net7.0/irulesc.pdb deleted file mode 100644 index 86ad5fe..0000000 Binary files a/irulesc/obj/Debug/net7.0/irulesc.pdb and /dev/null differ diff --git a/irulesc/obj/Debug/net7.0/ref/irulesc.dll b/irulesc/obj/Debug/net7.0/ref/irulesc.dll deleted file mode 100644 index 68b4b80..0000000 Binary files a/irulesc/obj/Debug/net7.0/ref/irulesc.dll and /dev/null differ diff --git a/irulesc/obj/Debug/net7.0/refint/irulesc.dll b/irulesc/obj/Debug/net7.0/refint/irulesc.dll deleted file mode 100644 index 68b4b80..0000000 Binary files a/irulesc/obj/Debug/net7.0/refint/irulesc.dll and /dev/null differ diff --git a/irulesc/obj/irulesc.csproj.nuget.dgspec.json b/irulesc/obj/irulesc.csproj.nuget.dgspec.json deleted file mode 100644 index 1c2f088..0000000 --- a/irulesc/obj/irulesc.csproj.nuget.dgspec.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "format": 1, - "restore": { - "/home/paul/workspace/R/irules/irulesc/irulesc.csproj": {} - }, - "projects": { - "/home/paul/workspace/R/irules/irules.core/irules.core.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "/home/paul/workspace/R/irules/irules.core/irules.core.csproj", - "projectName": "irules.core", - "projectPath": "/home/paul/workspace/R/irules/irules.core/irules.core.csproj", - "packagesPath": "/home/paul/.nuget/packages", - "outputPath": "/home/paul/workspace/R/irules/irules.core/obj/", - "projectStyle": "PackageReference", - "crossTargeting": true, - "fallbackFolders": [ - "/usr/share/dotnet/sdk/NuGetFallbackFolder" - ], - "configFilePaths": [ - "/home/paul/.nuget/NuGet/NuGet.Config" - ], - "originalTargetFrameworks": [ - "net472" - ], - "sources": { - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net472": { - "targetAlias": "net472", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net472": { - "targetAlias": "net472", - "dependencies": { - "Irony": { - "target": "Package", - "version": "[1.2.0, )" - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "suppressParent": "All", - "target": "Package", - "version": "[1.0.3, )", - "autoReferenced": true - } - }, - "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/7.0.403/RuntimeIdentifierGraph.json" - } - } - }, - "/home/paul/workspace/R/irules/irulesc/irulesc.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "/home/paul/workspace/R/irules/irulesc/irulesc.csproj", - "projectName": "irulesc", - "projectPath": "/home/paul/workspace/R/irules/irulesc/irulesc.csproj", - "packagesPath": "/home/paul/.nuget/packages", - "outputPath": "/home/paul/workspace/R/irules/irulesc/obj/", - "projectStyle": "PackageReference", - "fallbackFolders": [ - "/usr/share/dotnet/sdk/NuGetFallbackFolder" - ], - "configFilePaths": [ - "/home/paul/.nuget/NuGet/NuGet.Config" - ], - "originalTargetFrameworks": [ - "net7.0" - ], - "sources": { - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "projectReferences": { - "/home/paul/workspace/R/irules/irules.core/irules.core.csproj": { - "projectPath": "/home/paul/workspace/R/irules/irules.core/irules.core.csproj" - } - } - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/7.0.403/RuntimeIdentifierGraph.json" - } - } - } - } -} \ No newline at end of file diff --git a/irulesc/obj/irulesc.csproj.nuget.g.props b/irulesc/obj/irulesc.csproj.nuget.g.props deleted file mode 100644 index 3f47571..0000000 --- a/irulesc/obj/irulesc.csproj.nuget.g.props +++ /dev/null @@ -1,16 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - /home/paul/.nuget/packages - /home/paul/.nuget/packages;/usr/share/dotnet/sdk/NuGetFallbackFolder - PackageReference - 6.7.0 - - - - - - \ No newline at end of file diff --git a/irulesc/obj/irulesc.csproj.nuget.g.targets b/irulesc/obj/irulesc.csproj.nuget.g.targets deleted file mode 100644 index 3dc06ef..0000000 --- a/irulesc/obj/irulesc.csproj.nuget.g.targets +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/irulesc/obj/project.assets.json b/irulesc/obj/project.assets.json deleted file mode 100644 index 999ac5f..0000000 --- a/irulesc/obj/project.assets.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "version": 3, - "targets": { - "net7.0": { - "Irony/1.2.0": { - "type": "package", - "compile": { - "lib/netstandard2.0/Irony.dll": {} - }, - "runtime": { - "lib/netstandard2.0/Irony.dll": {} - } - }, - "irules.core/1.0.0": { - "type": "project", - "framework": ".NETFramework,Version=v4.7.2", - "dependencies": { - "Irony": "1.2.0" - }, - "compile": { - "bin/placeholder/irules.core.dll": {} - }, - "runtime": { - "bin/placeholder/irules.core.dll": {} - } - } - } - }, - "libraries": { - "Irony/1.2.0": { - "sha512": "xobL8fbz01pOacoWPjBw1K1tT4Sell3n0nQlutAGpqJ7R3sEoL+pB1gkWUBm1NcfQ7EAyPfIcAt4LVvAQhB7tg==", - "type": "package", - "path": "irony/1.2.0", - "files": [ - ".nupkg.metadata", - ".signature.p7s", - "irony.1.2.0.nupkg.sha512", - "irony.nuspec", - "lib/netstandard2.0/Irony.dll" - ] - }, - "irules.core/1.0.0": { - "type": "project", - "path": "../irules.core/irules.core.csproj", - "msbuildProject": "../irules.core/irules.core.csproj" - } - }, - "projectFileDependencyGroups": { - "net7.0": [ - "irules.core >= 1.0.0" - ] - }, - "packageFolders": { - "/home/paul/.nuget/packages": {}, - "/usr/share/dotnet/sdk/NuGetFallbackFolder": {} - }, - "project": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "/home/paul/workspace/R/irules/irulesc/irulesc.csproj", - "projectName": "irulesc", - "projectPath": "/home/paul/workspace/R/irules/irulesc/irulesc.csproj", - "packagesPath": "/home/paul/.nuget/packages", - "outputPath": "/home/paul/workspace/R/irules/irulesc/obj/", - "projectStyle": "PackageReference", - "fallbackFolders": [ - "/usr/share/dotnet/sdk/NuGetFallbackFolder" - ], - "configFilePaths": [ - "/home/paul/.nuget/NuGet/NuGet.Config" - ], - "originalTargetFrameworks": [ - "net7.0" - ], - "sources": { - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "projectReferences": { - "/home/paul/workspace/R/irules/irules.core/irules.core.csproj": { - "projectPath": "/home/paul/workspace/R/irules/irules.core/irules.core.csproj" - } - } - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/7.0.403/RuntimeIdentifierGraph.json" - } - } - } -} \ No newline at end of file diff --git a/irulesc/obj/project.nuget.cache b/irulesc/obj/project.nuget.cache deleted file mode 100644 index f053bc7..0000000 --- a/irulesc/obj/project.nuget.cache +++ /dev/null @@ -1,10 +0,0 @@ -{ - "version": 2, - "dgSpecHash": "JQHxwPBsVVEK8sXzEpvLt0Z2y/2EDJeEVTKYBej4+kVzGmsxmtlj5tJVmFR2uLrJBgE9CaSwNZ55a8g5F5Hbdg==", - "success": true, - "projectFilePath": "/home/paul/workspace/R/irules/irulesc/irulesc.csproj", - "expectedPackageFiles": [ - "/home/paul/.nuget/packages/irony/1.2.0/irony.1.2.0.nupkg.sha512" - ], - "logs": [] -} \ No newline at end of file diff --git a/samples/red/App.axaml b/samples/red/App.axaml index aaea807..f07e6e2 100644 --- a/samples/red/App.axaml +++ b/samples/red/App.axaml @@ -6,5 +6,6 @@ + \ No newline at end of file diff --git a/samples/red/App.axaml.cs b/samples/red/App.axaml.cs index d8a2aa9..12ea896 100644 --- a/samples/red/App.axaml.cs +++ b/samples/red/App.axaml.cs @@ -1,6 +1,15 @@ using Avalonia; using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Markup.Xaml; +using Irony.Interpreter; +using System; +using System.Collections.Generic; +using System.Text; +using System.Reflection; +using System.Security; +using Irony.Parsing; +using Irony.Interpreter.Ast; +using Irony; namespace red; @@ -20,4 +29,237 @@ public partial class App : Application base.OnFrameworkInitializationCompleted(); } -} \ No newline at end of file +} + +#region License +/* ********************************************************************************** + * Copyright (c) Roman Ivantsov + * This source code is subject to terms and conditions of the MIT License + * for Irony. A copy of the license can be found in the License.txt file + * at the root of this distribution. + * By using this source code in any fashion, you are agreeing to be bound by the terms of the + * MIT License. + * You must not remove this notice from this software. + * **********************************************************************************/ +#endregion + + + +public enum AppStatus +{ + Ready, + Evaluating, + WaitingMoreInput, //command line only + SyntaxError, + RuntimeError, + Crash, //interpreter crash + Aborted +} + +/// Represents a running instance of a script application. +public sealed class ScriptApp +{ + public readonly LanguageData Language; + public readonly RedLanguageRuntime Runtime; + public Parser Parser { get; private set; } + + public AppDataMap DataMap; + + public Scope[] StaticScopes; + public Scope MainScope; + public IDictionary Globals { get; private set; } + private IList ImportedAssemblies = new List(); + + // Current mode/status variables + public AppStatus Status; + public long EvaluationTime; + public Exception LastException; + public bool RethrowExceptions = true; + private ParseTree parsedScript; + + public ParseTree LastScript { get; private set; } //the root node of the last executed script + + + #region Constructors + public ScriptApp(LanguageData language) + { + Language = language; + var grammar = language.Grammar as InterpretedLanguageGrammar; + Runtime = new RedLanguageRuntime(language); + DataMap = new AppDataMap(Language.Grammar.CaseSensitive); + Init(); + } + + public ScriptApp(RedLanguageRuntime runtime) + { + Runtime = runtime; + Language = Runtime.Language; + DataMap = new AppDataMap(Language.Grammar.CaseSensitive); + Init(); + } + + public ScriptApp(AppDataMap dataMap) + { + DataMap = dataMap; + Init(); + } + + [SecuritySafeCritical] + private void Init() + { + Parser = new Parser(Language); + //Create static scopes + MainScope = new Scope(DataMap.MainModule.ScopeInfo, null, null, null); + StaticScopes = new Scope[DataMap.StaticScopeInfos.Count]; + StaticScopes[0] = MainScope; + Globals = MainScope.AsDictionary(); + } + + #endregion + + public LogMessageList GetParserMessages() + { + return Parser.Context.CurrentParseTree.ParserMessages; + } + // Utilities + public IEnumerable GetImportAssemblies() + { + //simple default case - return all assemblies loaded in domain + return AppDomain.CurrentDomain.GetAssemblies(); + } + + public ParseMode ParserMode + { + get { return Parser.Context.Mode; } + set { Parser.Context.Mode = value; } + } + + #region Evaluation + public object Evaluate(string script) + { + try + { + parsedScript = Parser.Parse(script); + if (parsedScript.HasErrors()) + { + Status = AppStatus.SyntaxError; + if (RethrowExceptions) + throw new ScriptException("Syntax errors found."); + return null; + } + + if (ParserMode == ParseMode.CommandLine && Parser.Context.Status == ParserStatus.AcceptedPartial) + { + Status = AppStatus.WaitingMoreInput; + return null; + } + LastScript = parsedScript; + var result = EvaluateParsedScript(); + return result; + } + catch (ScriptException) + { + throw; + } + catch (Exception ex) + { + this.LastException = ex; + this.Status = AppStatus.Crash; + return null; + } + } + + // Irony interpreter requires that once a script is executed in a ScriptApp, it is bound to AppDataMap object, + // and all later script executions should be performed only in the context of the same app (or at least by an App with the same DataMap). + // The reason is because the first execution sets up a data-binding fields, like slots, scopes, etc, which are bound to ScopeInfo objects, + // which in turn is part of DataMap. + public object Evaluate(ParseTree parsedScript) + { + Util.Check(parsedScript.Root.AstNode != null, "Root AST node is null, cannot evaluate script. Create AST tree first."); + var root = parsedScript.Root.AstNode as AstNode; + Util.Check(root != null, + "Root AST node {0} is not a subclass of Irony.Interpreter.AstNode. ScriptApp cannot evaluate this script.", root.GetType()); + Util.Check(root.Parent == null || root.Parent == DataMap.ProgramRoot, + "Cannot evaluate parsed script. It had been already evaluated in a different application."); + LastScript = parsedScript; + return EvaluateParsedScript(); + } + + public object Evaluate() + { + Util.Check(LastScript != null, "No previously parsed/evaluated script."); + return EvaluateParsedScript(); + } + + private object EvaluateParsedScript() + { + return EvaluateParsedScript(new ScriptThread(this)); + } + + //Actual implementation + private object EvaluateParsedScript(ScriptThread thread) + { + LastScript.Tag = DataMap; + var root = LastScript.Root.AstNode as AstNode; + root.DependentScopeInfo = MainScope.Info; + + Status = AppStatus.Evaluating; + try + { + var result = EvaluateRedScript(root, thread); + if (result != null) + thread.App.WriteLine(result.ToString()); + Status = AppStatus.Ready; + return result; + } + catch (ScriptException se) + { + Status = AppStatus.RuntimeError; + se.Location = thread.CurrentNode.Location; + se.ScriptStackTrace = thread.GetStackTrace(); + LastException = se; + if (RethrowExceptions) + throw; + return null; + } + catch (Exception ex) + { + Status = AppStatus.RuntimeError; + var se = new ScriptException(ex.Message, ex, thread.CurrentNode.Location, thread.GetStackTrace()); + LastException = se; + if (RethrowExceptions) + throw se; + return null; + + }//catch + + } + + private object EvaluateRedScript(AstNode root, ScriptThread thread) + { + throw new NotImplementedException(); + } + + private void WriteLine(string v) + { + throw new NotImplementedException(); + } + #endregion + + #region Output writing + + #region ConsoleWrite event + public event EventHandler ConsoleWrite; + private void OnConsoleWrite(string text) + { + if (ConsoleWrite != null) + { + ConsoleWriteEventArgs args = new ConsoleWriteEventArgs(text); + ConsoleWrite(this, args); + } + } + #endregion + + #endregion + +}//class \ No newline at end of file diff --git a/samples/red/MainWindow.axaml b/samples/red/MainWindow.axaml index e6e2806..1c411a4 100644 --- a/samples/red/MainWindow.axaml +++ b/samples/red/MainWindow.axaml @@ -2,26 +2,32 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - xmlns:AvaloniaEdit="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit" - mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" + xmlns:AvaloniaEdit="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit" + mc:Ignorable="d" + d:DesignWidth="800" + d:DesignHeight="450" x:Class="red.MainWindow" Title="red"> - - - - Search - - - - - - + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/red/MainWindow.axaml.cs b/samples/red/MainWindow.axaml.cs index a461e45..29cdd67 100644 --- a/samples/red/MainWindow.axaml.cs +++ b/samples/red/MainWindow.axaml.cs @@ -7,6 +7,6 @@ public partial class MainWindow : Window public MainWindow() { InitializeComponent(); - //src.Text = "Hello !"; + src.Text = "Hello !"; } } \ No newline at end of file diff --git a/samples/red/RedBindingRequest.cs b/samples/red/RedBindingRequest.cs new file mode 100644 index 0000000..359fa9d --- /dev/null +++ b/samples/red/RedBindingRequest.cs @@ -0,0 +1,31 @@ +using Irony.Interpreter; +using Irony.Interpreter.Ast; + +namespace red +{ + public class RedBindingRequest + { + private ScriptThread scriptThread; + private AstNode currentNode; + + public string Symbol { get; } + + public BindingRequestFlags Options { get; } + + public ModuleInfo FromModule { get; } + public ScopeInfo FromScopeInfo { get; } + public bool IgnoreCase { get; } + + public RedBindingRequest(ScriptThread thread, AstNode fromNode, string symbol, BindingRequestFlags flags) + + { + this.scriptThread = thread; + this.currentNode = fromNode; + Symbol = symbol; + this.Options = flags; + FromModule = thread.App.DataMap.GetModule(fromNode.ModuleNode); + FromScopeInfo = thread.CurrentScope.Info; + IgnoreCase = !thread.Runtime.Language.Grammar.CaseSensitive; + } + } +} \ No newline at end of file diff --git a/samples/red/RedLanguageRuntime.cs b/samples/red/RedLanguageRuntime.cs new file mode 100644 index 0000000..ce43abc --- /dev/null +++ b/samples/red/RedLanguageRuntime.cs @@ -0,0 +1,22 @@ +using System; +using Irony.Interpreter; +using Irony.Parsing; + +namespace red +{ + public class RedLanguageRuntime + { + + public RedLanguageRuntime(LanguageData language) + { + this.Language = language; + } + + public LanguageData Language { get; internal set; } + + internal Binding Bind(RedBindingRequest request) + { + throw new NotImplementedException(); + } + } +} \ No newline at end of file diff --git a/samples/red/ScriptThread.cs b/samples/red/ScriptThread.cs new file mode 100644 index 0000000..1ab757d --- /dev/null +++ b/samples/red/ScriptThread.cs @@ -0,0 +1,105 @@ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading; +using Irony.Parsing; +using Irony.Interpreter.Ast; +using Irony.Interpreter; + +namespace red +{ + #region License +/* ********************************************************************************** + * Copyright (c) Roman Ivantsov + * This source code is subject to terms and conditions of the MIT License + * for Irony. A copy of the license can be found in the License.txt file + * at the root of this distribution. + * By using this source code in any fashion, you are agreeing to be bound by the terms of the + * MIT License. + * You must not remove this notice from this software. + * **********************************************************************************/ +#endregion + + + /// Represents a running thread in script application. + public class ScriptThread { + public readonly ScriptApp App; + public readonly RedLanguageRuntime Runtime; + + public Scope CurrentScope; + public AstNode CurrentNode; + + // Tail call parameters + public ICallTarget Tail; + public object[] TailArgs; + + public ScriptThread(ScriptApp app) { + App = app; + Runtime = App.Runtime; + CurrentScope = app.MainScope; + } + + public void PushScope(ScopeInfo scopeInfo, object[] parameters) { + CurrentScope = new Scope(scopeInfo, CurrentScope, CurrentScope, parameters); + } + + + + public void PushClosureScope(ScopeInfo scopeInfo, Scope closureParent, object[] parameters) { + CurrentScope = new Scope(scopeInfo, CurrentScope, closureParent, parameters); + } + + public void PopScope() { + CurrentScope = CurrentScope.Caller; + } + + public Binding Bind(string symbol, BindingRequestFlags options) { + var request = new RedBindingRequest(this, CurrentNode, symbol, options); + var binding = Bind(request); + if (binding == null) + ThrowScriptError("Unknown symbol '{0}'.", symbol); + return binding; + } + + #region Exception handling + public object HandleError(Exception exception) { + if (exception is ScriptException) + throw exception; + var stack = GetStackTrace(); + var rex = new ScriptException(exception.Message, exception, CurrentNode.ErrorAnchor, stack); + throw rex; + } + + // Throws ScriptException exception. + public void ThrowScriptError(string message, params object[] args) { + if (args != null && args.Length > 0) + message = string.Format(message, args); + var loc = GetCurrentLocation(); + var stack = GetStackTrace(); + throw new ScriptException(message, null, loc, stack); + } + + //TODO: add construction of Script Call stack + public ScriptStackTrace GetStackTrace() { + return new ScriptStackTrace(); + } + + private SourceLocation GetCurrentLocation() { + return this.CurrentNode == null ? new SourceLocation() : CurrentNode.Location; + } + + #endregion + + + #region IBindingSource Members + + public Binding Bind(RedBindingRequest request) { + return Runtime.Bind(request); + } + + #endregion + }//class + +} \ No newline at end of file diff --git a/samples/red/red.csproj b/samples/red/red.csproj index 1faa059..f183c7f 100644 --- a/samples/red/red.csproj +++ b/samples/red/red.csproj @@ -1,24 +1,36 @@  WinExe - net7.0 - enable - true - app.manifest - true + net6.0 + win7-x64;linux-x64;osx-x64 + true + + + %(Filename) + Code + + + + + + + + - - - - + + + + - + + + diff --git a/test/test.core/GlobalUsings.cs b/test/test.core/GlobalUsings.cs new file mode 100644 index 0000000..8c927eb --- /dev/null +++ b/test/test.core/GlobalUsings.cs @@ -0,0 +1 @@ +global using Xunit; \ No newline at end of file diff --git a/test/test.core/UnitTest1.cs b/test/test.core/UnitTest1.cs new file mode 100644 index 0000000..7a55757 --- /dev/null +++ b/test/test.core/UnitTest1.cs @@ -0,0 +1,49 @@ +using Irony.Interpreter; +using Irony.Parsing; +using irules.core; +using Xunit.Sdk; + +namespace test.core; + +public class UnitTest1 +{ + public AppStatus Status { get; private set; } + public ParseTree LastScript { get; private set; } + public Exception LastException { get; private set; } + + [Fact] + public void Test1() + { + Parse("A"); + } + + + public object Parse(string script) { + + var grammar = new Clause(); + + var language = new LanguageData(grammar); + + var parser = new Parser(language); + try { + var parsedScript = parser.Parse(script); + if (parsedScript.HasErrors()) { + Status = AppStatus.SyntaxError; + throw new ScriptException("Syntax errors found: " + + string.Join(", ",parsedScript.ParserMessages)); + } + + if (parser.Context.Status == ParserStatus.AcceptedPartial) { + throw new Exception ("AcceptedPartial"); + } + LastScript = parsedScript; + return parsedScript; + } catch (ScriptException) { + throw; + } catch (Exception ex) { + this.LastException = ex; + this.Status = AppStatus.Crash; + return null; + } + } +} \ No newline at end of file diff --git a/test/test.core/test.core.csproj b/test/test.core/test.core.csproj new file mode 100644 index 0000000..ba549c7 --- /dev/null +++ b/test/test.core/test.core.csproj @@ -0,0 +1,27 @@ + + + + net6.0 + enable + enable + + false + true + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + +