add binary expression
This commit is contained in:
parent
1d00af88c0
commit
246cdbb8d2
3 changed files with 62 additions and 6 deletions
|
|
@ -48,6 +48,8 @@ export function Lexer(input: string, start: number = 0, end?: number) {
|
|||
case "/":
|
||||
case "%":
|
||||
case "^":
|
||||
case "?":
|
||||
case ":":
|
||||
tokens.push(makeToken(input, TokenKind.OPERATOR, index))
|
||||
break
|
||||
|
||||
|
|
|
|||
Reference in a new issue