lang: change symbols for properties and atoms to -> and $ respectively

This commit is contained in:
2025-04-10 13:04:12 +01:00
parent 8045872dc3
commit 2235f9c0a9
4 changed files with 9 additions and 5 deletions

View File

@@ -90,6 +90,7 @@ struct ast_node_type expr_node_ops = {
/* operator/block keywords */
KW_PARSER(IN, arith_parse_in),
KW_PARSER(IS, arith_parse_operator),
KW_PARSER(DO, arith_parse_do),
}
};

View File

@@ -149,6 +149,8 @@ extern struct token_parse_result arith_parse_equal_right_angle(
struct ivy_parser *ctx, struct ivy_token *tok);
extern struct token_parse_result arith_parse_in(
struct ivy_parser *ctx, struct ivy_token *tok);
extern struct token_parse_result arith_parse_is(
struct ivy_parser *ctx, struct ivy_token *tok);
extern struct token_parse_result arith_parse_do(
struct ivy_parser *ctx, struct ivy_token *tok);