Module Compiler implements the functions needed for compiling Quartz modules to AIF modules, as well as functions for linking AIF modules to AIF systems.
Function or value | Description |
|
Function compile translates a given Quartz module to a corresponding AIF module.
|
Full Usage:
CompileQuartzFile toSystem modName filename
Parameters:
bool
modName : string
filename : string
Returns: AIFModule
|
This function is used to parse a Quartz module to an AIF module.
|
Full Usage:
CompileQuartzFile2AifFile toSystem filename
Parameters:
bool
filename : string
|
CompileQuartzFile2AifFile toSystem dirname modname parses, type-checks and compiles a qrz file with name dirname+modname+.qrz and depending on toSystem links the compiled aif module to an aif system. In contrast to function QuartzFile2AifFile, it is not checked whether already an aifm or aifs file that is up-to-date exists.
|
Function Link propagates the initial compile context through a given AIF module and includes all module calls with their computed compile contexts. The initial compile context assigns strt:=true, prmt:=false, susp:=false, abrt:=false, and strg:=false. Note that the abbreviation table is thereby replaced with a new one.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
ParseUtyQuartzModuleFromStream inStream
Parameters:
TextReader
Returns: UtyQModule
|
This function is used to parse a Quartz module from a file whose name is given as argument of the function.
|
|
|
Full Usage:
QuartzFile2AifFile toSystem filename
Parameters:
bool
filename : string
|
QuartzFile2AifFile toSystem qrzfile first checks whether a corresponding aifs or aifm file exists in the directory where qrzfile is in. If one exists that is newer than qrzfile, then nothing is done. Otherwise, the qrzfile is parsed, type-checked and compiled to either an aifm or aifs file (depending on the value of argument variable toSystem). Modules that are called in qrzfile that are not up to date are recursively compiled and updated if necessary.
|