aboutsummaryrefslogtreecommitdiff
path: root/src/compile/blocks.h
blob: 59d85b6c4c2495f31347ecc6a47be3127b8d9f2c (plain)
1
2
3
4
5
6
7
8
9
10
// 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);