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 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; } } }