add list support to parser

This commit is contained in:
2025-06-11 02:08:17 +01:00
parent 55c1500453
commit a47df1ddb0
7 changed files with 85 additions and 11 deletions

11
src/parser/list/list.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef LIST_H
#define LIST_H
#include "../../lexer/token.h" // for Token
#include "../parser.h"
ParsedValue *parse_list(char *file, DArray *tokens,
size_t *index);
void free_parsed_list(void *ptr);
#endif // LIST_H