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