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

from StdFile import ::Files
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