aboutsummaryrefslogtreecommitdiff
path: root/main/compile.dcl
blob: 83ffb3756f48271d8af12e98492abffee139a426 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
	module owner: Ronny Wichers Schreur
*/
definition module compile

/*2.0
from StdFile import ::Files
0.2*/
//1.3
from StdFile import Files
//3.1
import checksupport

compile :: ![{#Char}] !*DclCache !*Files -> (!Bool,!*DclCache,!*Files)

:: DclCache = {
	dcl_modules::!{#DclModule},
	functions_and_macros::!.{#.{#FunDef}},
	predef_symbols::!.PredefinedSymbols,
	hash_table::!.HashTable,
	heaps::!.Heaps
 };

empty_cache :: *SymbolTable -> *DclCache