Cthulhu  0.2.10
Cthulhu compiler collection
sema.c File Reference
#include "pl0/sema.h"
#include "core/macros.h"
#include "cthulhu/broker/broker.h"
#include "cthulhu/events/events.h"
#include "memory/memory.h"
#include "pl0/ast.h"
#include "cthulhu/util/util.h"
#include "base/panic.h"
#include "std/str.h"
#include "std/map.h"
#include "std/vector.h"
#include "cthulhu/tree/tree.h"
#include "cthulhu/tree/query.h"
Include dependency graph for sema.c:

Go to the source code of this file.

Functions

void pl0_init (language_runtime_t *runtime, tree_t *root)
 
void pl0_forward_decls (language_runtime_t *runtime, compile_unit_t *context)
 
void pl0_process_imports (language_runtime_t *runtime, compile_unit_t *context)
 
void pl0_compile_module (language_runtime_t *runtime, compile_unit_t *context)
 

Function Documentation

◆ pl0_compile_module()

void pl0_compile_module ( language_runtime_t runtime,
compile_unit_t context 
)

Definition at line 565 of file sema.c.

◆ pl0_forward_decls()

void pl0_forward_decls ( language_runtime_t runtime,
compile_unit_t context 
)

Definition at line 466 of file sema.c.

◆ pl0_init()

void pl0_init ( language_runtime_t runtime,
tree_t root 
)

Definition at line 153 of file sema.c.

◆ pl0_process_imports()

void pl0_process_imports ( language_runtime_t runtime,
compile_unit_t context 
)

Definition at line 534 of file sema.c.