aboutsummaryrefslogtreecommitdiff
path: root/src/compile/functions.h
blob: f7edd2aa434a83a9c9e28eb72fbc0e62c9f95028 (plain)
1
2
3
4
5
6
7
8
9

#include "../ast.h"
#include "../environment.h"
#include "../stdlib/datatypes.h"

Text_t compile_function_call(env_t *env, ast_t *ast);
Text_t compile_arguments(env_t *env, ast_t *call_ast, arg_t *spec_args, arg_ast_t *call_args);
Text_t compile_lambda(env_t *env, ast_t *ast);
Table_t get_closed_vars(env_t *env, arg_ast_t *args, ast_t *block);