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

#pragma once

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

Text_t compile_condition(env_t *env, ast_t *ast);
Text_t compile_if_statement(env_t *env, ast_t *ast);
Text_t compile_if_expression(env_t *env, ast_t *ast);