merge new parser into dev

This commit is contained in:
Matteo Flebus 2026-01-26 18:40:10 +01:00
commit d707c6180b
16 changed files with 725 additions and 228 deletions

View file

@ -31,6 +31,9 @@ static int main_loop(struct lexer_context *ctx, struct args_options *options,
struct hash_map *vars)
{
int return_code = SUCCESS;
// init parser
int parser_init();
// Retrieve and build first AST
struct ast *command_ast = get_ast(ctx);
@ -61,6 +64,7 @@ static int main_loop(struct lexer_context *ctx, struct args_options *options,
return err_input(&vars);
ast_free(&command_ast);
parser_close();
return return_code;
}