- Reference manual
- Test conditional compilation directives and translate all input to
if we are in a‘false branch' of the conditional compilation. See section 184.108.40.206.
- Call term_expansion/2.
This predicate is first tried in the module that is being compiled and
then in modules from which this module inherits according to default_module/2.
The output of the expansion in a module is used as input for the next
module. Using the default setup and when compiling a normal application
module M, this implies expansion is executed in M,
userand finally in
system. Library modules inherit directly from
systemand can thus not be re-interpreted by term expansion rules in
- Call DCG expansion (dcg_translate_rule/2).
- Call expand_goal/2 on each body term that appears in the output of the previous steps.