lang: ast: implement parsing of while-loops

This commit is contained in:
2024-12-05 19:29:21 +00:00
parent e23cd801c9
commit 1a4d6089a1
6 changed files with 261 additions and 4 deletions

View File

@@ -126,6 +126,8 @@ extern struct token_parse_result arith_parse_in(
/* statement parser callbacks */
extern struct token_parse_result stmt_parse_while(
struct ivy_parser *ctx, struct ivy_token *tok);
extern struct token_parse_result stmt_parse_match(
struct ivy_parser *ctx, struct ivy_token *tok);
extern struct token_parse_result stmt_parse_if(