mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-13 16:53:24 +00:00
feat: runtime block value
This commit is contained in:
@ -39,6 +39,15 @@ specs = (
|
||||
# Assignment:
|
||||
(re.compile(r"^="), "SIMPLE_ASSIGN"),
|
||||
|
||||
# Logical operators:
|
||||
(re.compile(r"^&&"), "AND"),
|
||||
(re.compile(r"^\|\|"), "OR"),
|
||||
(re.compile(r"^!"), "NOT"),
|
||||
|
||||
# Math operators: +, -, *, /:
|
||||
(re.compile(r"^[+-]"), "ADDITIVE_OPERATOR"),
|
||||
(re.compile(r"^[*/]"), "MULTIPLICATIVE_OPERATOR"),
|
||||
|
||||
# Double-quoted strings
|
||||
(re.compile(r"^\"[^\"]*\""), "STRING"),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user