Removed semicolons because of the python haters

This commit is contained in:
BOTAlex 2024-07-15 04:09:14 +02:00
parent 50c30e3a7e
commit 9a13b9b8f0
1 changed files with 18 additions and 19 deletions

View File

@ -28,23 +28,23 @@
private Task AutoTypingTask; private Task AutoTypingTask;
readonly string[] exampleInputs = { readonly string[] exampleInputs = {
"2+2;", "2+2",
"69*420+50;", "69*420+50",
"sin(2+4);", "sin(2+4)",
"sqrt(9);", "sqrt(9)",
"nroot(27, 3);", "nroot(27, 3)",
"f(x):=2*x;", "f(x):=2*x",
"f(5);", "f(5)",
"pi;", "pi",
"e;", "e",
"myvar := 5;", "myvar := 5",
"15 + myvar;", "15 + myvar",
"myfunctionvar := f;", "myfunctionvar := f",
"myfunctionvar(10);", "myfunctionvar(10)",
"d/dx x;", "d/dx x",
"d/dx x^2;", "d/dx x^2",
"d/dx 69*x^2;", "d/dx 69*x^2",
"d/dx sin(x)*x^2;" "d/dx sin(x)*x^2"
}; };
private void print(string e) private void print(string e)
@ -81,8 +81,7 @@
await InvokeAsync(StateHasChanged); await InvokeAsync(StateHasChanged);
} }
int typingDelay = 200; const int typingDelay = 200;
private async Task StartAutoTyping() private async Task StartAutoTyping()
{ {
await Task.Delay(1000); await Task.Delay(1000);