blob: 762c72f0b6d159d1346cd12341e6cf7c5ec3c29a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// This file defines how to compile loops
#pragma once
#include "../ast.h"
#include "../environment.h"
#include "../stdlib/datatypes.h"
Text_t compile_for_loop(env_t *env, ast_t *ast);
Text_t compile_repeat(env_t *env, ast_t *ast);
Text_t compile_while(env_t *env, ast_t *ast);
Text_t compile_skip(env_t *env, ast_t *ast);
Text_t compile_stop(env_t *env, ast_t *ast);
|