aboutsummaryrefslogblamecommitdiff
path: root/main/compile.dcl
blob: e2ddeacb42fa09e475cf7ef1440c4998b1bd1012 (plain) (tree)
1
2
3
4
5
6
7
8

                                           
                         
                           
                   
 


                                                                      
                                              



                                            
                                         
/*
	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