3. The WML Methodology
-
WML makes 9 passes at the input file:
-
Source Reading and Include File Expansion (ipp)
-
HTML Macro Construct Expansion (mp4h) (Meta-tags, conditionals, etc)
-
Perl 5 Programming Construct Expansion (eperl)
-
M4 Macro Construct Expansion (gm4)
-
Diversion Filter (divert) - diverting text to different locations
-
Character and String Substitution (asubst)
-
HTML Fix-up (htmlfix)
-
Line Stripping and Output Fix-up (htmlstrip)
-
Output Splitting and Final Writing (slice)
Written by Shlomi Fish