Cthulhu  0.2.10
Cthulhu compiler collection
sema.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: GPL-3.0-only
2 
3 #pragma once
4 
5 #include "cthulhu/tree/tree.h"
6 
8 typedef struct compile_unit_t compile_unit_t;
9 
10 typedef enum pl0_tag_t
11 {
12 #define DECL_TAG(ID, INIT, STR) ID INIT,
13 #include "pl0/pl0.inc"
16 
17 void pl0_init(language_runtime_t *runtime, tree_t *root);
18 
19 void pl0_forward_decls(language_runtime_t *runtime, compile_unit_t *context);
void pl0_process_imports(language_runtime_t *runtime, compile_unit_t *context)
Definition: sema.c:534
void pl0_init(language_runtime_t *runtime, tree_t *root)
Definition: sema.c:153
pl0_tag_t
Definition: sema.h:11
@ ePl0TagTotal
Definition: sema.h:14
void pl0_forward_decls(language_runtime_t *runtime, compile_unit_t *context)
Definition: sema.c:466
void pl0_compile_module(language_runtime_t *runtime, compile_unit_t *context)
Definition: sema.c:565
Definition: tree.h:67