expand operator list
This commit is contained in:
@@ -64,7 +64,7 @@ class StackElement(NamedTuple):
|
|||||||
WHITESPACE_OR_PAREN = re.compile(r"(\s|\(|\)|\[|\]|\'\()+")
|
WHITESPACE_OR_PAREN = re.compile(r"(\s|\(|\)|\[|\]|\'\()+")
|
||||||
TOKEN_REGEX = re.compile(r"\w[a-zA-Z0-9_]*")
|
TOKEN_REGEX = re.compile(r"\w[a-zA-Z0-9_]*")
|
||||||
NUMBER_REGEX = re.compile(r"\d+(\.\d+)?")
|
NUMBER_REGEX = re.compile(r"\d+(\.\d+)?")
|
||||||
OPERATORS = re.compile(r"(->|~>|\+|\-|\*|\/|\=)")
|
OPERATORS = re.compile(r"(->|~>|\+|\-|\*|\/|\=|\|\||\&\&)")
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|||||||
Reference in New Issue
Block a user