From f1d0deaa8da96befea6700d98486ab3368460e01 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 11 Sep 2024 09:01:55 +0200 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 02fbd3d..cd94ddc 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ public class Program } ``` -For more detailed instructions and advanced usage, please refer to the [Wiki](https://github.com/furesoft/Silverfly/wiki). +For more detailed instructions and advanced usage, please refer to the [Docs]([https://github.com/furesoft/Silverfly/wiki](https://furesoft.gitbook.io/silverfly)). A great example can be found [here](https://github.com/furesoft/Silverfly/tree/main/Source/Samples/Sample.FuncLanguage) ## Contributing From 7349e30c13f6d0b4f962545e447a9a2b20ca2132 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 27 Sep 2024 07:45:00 +0000 Subject: [PATCH 2/3] chore: Update Version --- Source/Samples/Sample.FuncLanguage/Sample.FuncLanguage.csproj | 2 +- Source/Samples/Sample.JSON/Sample.JSON.csproj | 2 +- Source/Samples/Sample.Rockstar/Sample.Rockstar.csproj | 2 +- Source/Silverfly.Generator/Silverfly.Generator.csproj | 2 +- Source/Silverfly.Repl/Silverfly.Repl.csproj | 2 +- Source/Silverfly/Silverfly.csproj | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Samples/Sample.FuncLanguage/Sample.FuncLanguage.csproj b/Source/Samples/Sample.FuncLanguage/Sample.FuncLanguage.csproj index f4d403e..63f2bd7 100644 --- a/Source/Samples/Sample.FuncLanguage/Sample.FuncLanguage.csproj +++ b/Source/Samples/Sample.FuncLanguage/Sample.FuncLanguage.csproj @@ -1,7 +1,7 @@  - 1.0.68 + 1.0.69 Exe preview true diff --git a/Source/Samples/Sample.JSON/Sample.JSON.csproj b/Source/Samples/Sample.JSON/Sample.JSON.csproj index 6a95c8b..066ed36 100644 --- a/Source/Samples/Sample.JSON/Sample.JSON.csproj +++ b/Source/Samples/Sample.JSON/Sample.JSON.csproj @@ -1,6 +1,7 @@  + 1.0.69 Exe net8.0 true @@ -14,7 +15,6 @@ net8.0 enable enable - 1.0.68 diff --git a/Source/Samples/Sample.Rockstar/Sample.Rockstar.csproj b/Source/Samples/Sample.Rockstar/Sample.Rockstar.csproj index c72590d..9a1eaeb 100644 --- a/Source/Samples/Sample.Rockstar/Sample.Rockstar.csproj +++ b/Source/Samples/Sample.Rockstar/Sample.Rockstar.csproj @@ -1,7 +1,7 @@  - 1.0.68 + 1.0.69 Exe preview true diff --git a/Source/Silverfly.Generator/Silverfly.Generator.csproj b/Source/Silverfly.Generator/Silverfly.Generator.csproj index 8e6d0b3..4ae0e8d 100644 --- a/Source/Silverfly.Generator/Silverfly.Generator.csproj +++ b/Source/Silverfly.Generator/Silverfly.Generator.csproj @@ -1,7 +1,7 @@  - 1.0.68 + 1.0.69 net8.0 enable enable diff --git a/Source/Silverfly.Repl/Silverfly.Repl.csproj b/Source/Silverfly.Repl/Silverfly.Repl.csproj index 016d596..e6f80e7 100644 --- a/Source/Silverfly.Repl/Silverfly.Repl.csproj +++ b/Source/Silverfly.Repl/Silverfly.Repl.csproj @@ -1,7 +1,7 @@  - 1.0.68 + 1.0.69 preview true Silverfly.Repl diff --git a/Source/Silverfly/Silverfly.csproj b/Source/Silverfly/Silverfly.csproj index 4aab185..ccc4396 100644 --- a/Source/Silverfly/Silverfly.csproj +++ b/Source/Silverfly/Silverfly.csproj @@ -1,7 +1,7 @@ - 1.0.68 + 1.0.69 preview true Silverfly From 887d10e0bda68f397cb897d2e20af9e1b8a24ec5 Mon Sep 17 00:00:00 2001 From: codefactor-io Date: Fri, 27 Sep 2024 07:45:32 +0000 Subject: [PATCH 3/3] [CodeFactor] Apply fixes --- Source/Samples/Sample.Brainfuck/Nodes/OperationNode.cs | 3 +-- .../Sample.Rockstar/Parselets/PoeticLiteralParselet.cs | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/Samples/Sample.Brainfuck/Nodes/OperationNode.cs b/Source/Samples/Sample.Brainfuck/Nodes/OperationNode.cs index 6532f24..32adc3b 100644 --- a/Source/Samples/Sample.Brainfuck/Nodes/OperationNode.cs +++ b/Source/Samples/Sample.Brainfuck/Nodes/OperationNode.cs @@ -1,9 +1,8 @@ -using Silverfly; +using Silverfly; using Silverfly.Nodes; namespace Sample.Brainfuck.Nodes; public record OperationNode(Token Token) : AstNode { - } diff --git a/Source/Samples/Sample.Rockstar/Parselets/PoeticLiteralParselet.cs b/Source/Samples/Sample.Rockstar/Parselets/PoeticLiteralParselet.cs index 4743bc4..ed538b6 100644 --- a/Source/Samples/Sample.Rockstar/Parselets/PoeticLiteralParselet.cs +++ b/Source/Samples/Sample.Rockstar/Parselets/PoeticLiteralParselet.cs @@ -1,4 +1,4 @@ -using Silverfly.Nodes; +using Silverfly.Nodes; using Silverfly.Nodes.Operators; using Silverfly.Parselets; @@ -63,7 +63,7 @@ private static double ConvertPoeticNumber(List tmp) } else { - numValue = numValue * 10 + digit; + numValue = (numValue * 10) + digit; } } }