From 1f93e82303f19029394c3e1d2c375c23d56a6498 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 25 Aug 2025 00:49:29 -0400 Subject: Split out function parsing. --- src/parse/functions.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/parse/functions.h (limited to 'src/parse/functions.h') diff --git a/src/parse/functions.h b/src/parse/functions.h new file mode 100644 index 00000000..24dbe952 --- /dev/null +++ b/src/parse/functions.h @@ -0,0 +1,10 @@ +// Logic for parsing functions +#pragma once + +#include "../ast.h" +#include "context.h" + +arg_ast_t *parse_args(parse_ctx_t *ctx, const char **pos); +ast_t *parse_lambda(parse_ctx_t *ctx, const char *pos); +ast_t *parse_func_def(parse_ctx_t *ctx, const char *pos); +ast_t *parse_convert_def(parse_ctx_t *ctx, const char *pos); -- cgit v1.2.3