Cthulhu  0.2.10
Cthulhu compiler collection
sema.h File Reference
#include "cthulhu/tree/tree.h"
#include "pl0/pl0.inc"
Include dependency graph for sema.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DECL_TAG(ID, INIT, STR)   ID INIT,
 

Enumerations

enum  pl0_tag_t { ePl0TagTotal }
 

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)
 

Macro Definition Documentation

◆ DECL_TAG

#define DECL_TAG (   ID,
  INIT,
  STR 
)    ID INIT,

Definition at line 12 of file sema.h.

Enumeration Type Documentation

◆ pl0_tag_t

enum pl0_tag_t
Enumerator
ePl0TagTotal 

Definition at line 10 of file sema.h.

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.