diff --git a/GParse.Extensions.StateMachines.Tests/GParse.Extensions.StateMachines.Tests.csproj b/GParse.Extensions.StateMachines.Tests/GParse.Extensions.StateMachines.Tests.csproj new file mode 100644 index 0000000..ca2000f --- /dev/null +++ b/GParse.Extensions.StateMachines.Tests/GParse.Extensions.StateMachines.Tests.csproj @@ -0,0 +1,20 @@ + + + + netcoreapp3.1 + + false + + + + + + + + + + + + + + diff --git a/GParse.Tests/IO/SourceCodeReaderTransducerExtensionsTest.cs b/GParse.Extensions.StateMachines.Tests/SourceCodeReaderTransducerExtensionsTest.cs similarity index 93% rename from GParse.Tests/IO/SourceCodeReaderTransducerExtensionsTest.cs rename to GParse.Extensions.StateMachines.Tests/SourceCodeReaderTransducerExtensionsTest.cs index a395978..13d201b 100644 --- a/GParse.Tests/IO/SourceCodeReaderTransducerExtensionsTest.cs +++ b/GParse.Extensions.StateMachines.Tests/SourceCodeReaderTransducerExtensionsTest.cs @@ -3,7 +3,7 @@ using GUtils.StateMachines.Transducers; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace GParse.Tests.IO +namespace GParse.Extensions.StateMachines.Tests { [TestClass] public class SourceCodeReaderTransducerExtensionsTest diff --git a/GParse.Extensions.StateMachines/GParse.Extensions.StateMachines.csproj b/GParse.Extensions.StateMachines/GParse.Extensions.StateMachines.csproj new file mode 100644 index 0000000..346e50a --- /dev/null +++ b/GParse.Extensions.StateMachines/GParse.Extensions.StateMachines.csproj @@ -0,0 +1,36 @@ + + + + netstandard2.1 + RuleSet1.ruleset + GGG KILLER + Parsing and lexing utilities to create your own parser and lexer + GGG KILLER © 2020 + + https://github.com/GGG-KILLER/GParse + https://github.com/GGG-KILLER/GParse + Git + true + 4.0.0 + latest + enable + bin\$(Configuration)\$(TargetFramework)\GParse.xml + MIT + + + true + + true + + true + snupkg + + + + + + + + + + diff --git a/GParse/IO/ICodeReaderTransducerExtensions.cs b/GParse.Extensions.StateMachines/ICodeReaderTransducerExtensions.cs similarity index 98% rename from GParse/IO/ICodeReaderTransducerExtensions.cs rename to GParse.Extensions.StateMachines/ICodeReaderTransducerExtensions.cs index c5f41e4..a2aad6b 100644 --- a/GParse/IO/ICodeReaderTransducerExtensions.cs +++ b/GParse.Extensions.StateMachines/ICodeReaderTransducerExtensions.cs @@ -2,10 +2,11 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq.Expressions; +using GParse.IO; using GUtils.Expressions; using GUtils.StateMachines.Transducers; -namespace GParse.IO +namespace GParse.Extensions.StateMachines { /// /// Represents a compiled that acts upon a diff --git a/GParse/Lexing/TokenReaderTransducerExtensions.cs b/GParse.Extensions.StateMachines/ITokenReaderTransducerExtensions.cs similarity index 97% rename from GParse/Lexing/TokenReaderTransducerExtensions.cs rename to GParse.Extensions.StateMachines/ITokenReaderTransducerExtensions.cs index a1345b2..2952a2f 100644 --- a/GParse/Lexing/TokenReaderTransducerExtensions.cs +++ b/GParse.Extensions.StateMachines/ITokenReaderTransducerExtensions.cs @@ -2,10 +2,11 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq.Expressions; +using GParse.Lexing; using GUtils.Expressions; using GUtils.StateMachines.Transducers; -namespace GParse.Lexing +namespace GParse.Extensions.StateMachines { /// /// Represents a compiled that accepts a @@ -22,7 +23,7 @@ namespace GParse.Lexing /// Extensions for a to work with a /// /// - public static class TokenReaderTransducerExtensions + public static class ITokenReaderTransducerExtensions { /// /// Attempts to execute the state machine against the diff --git a/GParse.Extensions.StateMachines/RuleSet1.ruleset b/GParse.Extensions.StateMachines/RuleSet1.ruleset new file mode 100644 index 0000000..a1b9ef9 --- /dev/null +++ b/GParse.Extensions.StateMachines/RuleSet1.ruleset @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GParse.sln b/GParse.sln index b03e3ff..fdfb2fd 100644 --- a/GParse.sln +++ b/GParse.sln @@ -19,6 +19,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GParse", "GParse\GParse.csp EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GParse.Tests", "GParse.Tests\GParse.Tests.csproj", "{A039DA83-6047-4393-8B5A-E17F951C1A34}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GParse.Extensions.StateMachines", "GParse.Extensions.StateMachines\GParse.Extensions.StateMachines.csproj", "{D084CA66-CAEC-4A00-9D32-2CFCE44BC52E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GParse.Extensions.StateMachines.Tests", "GParse.Extensions.StateMachines.Tests\GParse.Extensions.StateMachines.Tests.csproj", "{75DC45BE-CCB5-4360-B450-C80F341BE7C1}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -33,12 +37,21 @@ Global {A039DA83-6047-4393-8B5A-E17F951C1A34}.Debug|Any CPU.Build.0 = Debug|Any CPU {A039DA83-6047-4393-8B5A-E17F951C1A34}.Release|Any CPU.ActiveCfg = Release|Any CPU {A039DA83-6047-4393-8B5A-E17F951C1A34}.Release|Any CPU.Build.0 = Release|Any CPU + {D084CA66-CAEC-4A00-9D32-2CFCE44BC52E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D084CA66-CAEC-4A00-9D32-2CFCE44BC52E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D084CA66-CAEC-4A00-9D32-2CFCE44BC52E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D084CA66-CAEC-4A00-9D32-2CFCE44BC52E}.Release|Any CPU.Build.0 = Release|Any CPU + {75DC45BE-CCB5-4360-B450-C80F341BE7C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {75DC45BE-CCB5-4360-B450-C80F341BE7C1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {75DC45BE-CCB5-4360-B450-C80F341BE7C1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {75DC45BE-CCB5-4360-B450-C80F341BE7C1}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {A039DA83-6047-4393-8B5A-E17F951C1A34} = {6E9DF038-0FDC-406E-9754-0D09C728DC2A} + {75DC45BE-CCB5-4360-B450-C80F341BE7C1} = {6E9DF038-0FDC-406E-9754-0D09C728DC2A} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {9367AB81-F9E2-4379-8FFF-A716EEB4F9F8} diff --git a/GParse/GParse.csproj b/GParse/GParse.csproj index c9a00e9..cd01915 100644 --- a/GParse/GParse.csproj +++ b/GParse/GParse.csproj @@ -5,7 +5,7 @@ RuleSet1.ruleset GGG KILLER Parsing and lexing utilities to create your own parser and lexer - GGG KILLER © 2018 + GGG KILLER © 2020 https://github.com/GGG-KILLER/GParse https://github.com/GGG-KILLER/GParse @@ -27,7 +27,6 @@ - all runtime; build; native; contentfiles; analyzers; buildtransitive