We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19a5215 commit a9bff6bCopy full SHA for a9bff6b
SourceCode/Parser/Lexer.cs
@@ -8,7 +8,7 @@ namespace OwnLang
8
{
9
class Lexer
10
11
- private static string OPERATOR_CHARS = "+-*/()[]{}=<>!&|;.:";
+ private static string OPERATOR_CHARS = "+-*/()[]{}=<>!&|;.:@";
12
private string input;
13
private List<Token> tokens;
14
private static Dictionary<string, TokenType> OPERATORS;
@@ -41,6 +41,7 @@ static Lexer()
41
OPERATORS.Add(";", TokenType.COMMA);
42
OPERATORS.Add(".", TokenType.DOT);
43
OPERATORS.Add(":", TokenType.DDOT);
44
+ OPERATORS.Add("@", TokenType.DOG);
45
46
OPERATORS.Add("!", TokenType.EXCL);
47
OPERATORS.Add("&", TokenType.AMP);
0 commit comments