[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.3 Programming in M4sugar
M4 by itself provides only a small, but sufficient, set of all-purpose macros. M4sugar introduces additional generic macros. Its name was coined by Lars J. Aas: “Readability And Greater Understanding Stands 4 M4sugar”.
M4sugar reserves the macro namespace ‘^_m4_’ for internal use, and the macro namespace ‘^m4_’ for M4sugar macros. You should not define your own macros into these namespaces.
8.3.1 Redefined M4 Macros | M4 builtins changed in M4sugar | |
8.3.2 Diagnostic messages from M4sugar | ||
8.3.3 Diversion support | Diversions in M4sugar | |
8.3.4 Conditional constructs | Conditions in M4 | |
8.3.5 Looping constructs | Iteration in M4 | |
8.3.6 Evaluation Macros | More quotation and evaluation control | |
8.3.7 String manipulation in M4 | ||
8.3.8 Arithmetic computation in M4 | ||
8.3.9 Set manipulation in M4 | ||
8.3.10 Forbidden Patterns | Catching unexpanded macros |