aboutsummaryrefslogtreecommitdiff
path: root/src/compile/blocks.h
blob: 257a4a95004b255b935b0620352ebdabcf8b2cee (plain)
1
2
3
4
5
6
7
8
9
10
11
// This file defines how to compile blocks

#pragma once

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

Text_t compile_block(env_t *env, ast_t *ast);
Text_t compile_block_expression(env_t *env, ast_t *ast);
Text_t compile_inline_block(env_t *env, ast_t *ast);