Lines Matching +full:processor +full:- +full:b +full:- +full:side

1 .\" Copyright (C) Caldera International Inc. 2001-2002.  All rights reserved.
40 .EH 'PSD:17-%''The M4 Macro Processor'
41 .OH 'The M4 Macro Processor''PSD:17-%'
46 \&\\$3\s-1\\$1\\s0\&\\$2
73 .tr --||''^^!!
80 .hw semi-colon
81 .hw estab-lished
83 . \"2=not last lines; 4= no -xx; 8=no xx-
88 .\" .....TM 77-1273-6 39199 39199-11
91 The M4 Macro Processor
92 .AU "MH 2C-518" 6021
94 .AU "MH 2C-517" 3770
100 M4 is a macro processor available on
134 A macro processor is a useful way to enhance a programming language,
145 any macro processor _
148 The M4 macro processor is an extension of a macro processor called M3
150 for the AP-3 minicomputer;
151 M3 was in turn based on a macro processor implemented for [1].
177 M4 provides a collection of about twenty built-in
181 Built-ins and user-defined macros work exactly the same way, except that
182 some of the built-in macros have side effects
195 is `\-',
209 The primary built-in function of M4
249 If a macro or built-in name is not followed immediately by `(',
258 if it appears surrounded by non-alphanumerics.
403 the quote characters can be changed with the built-in
414 There are two additional built-ins related to
417 removes the definition of some macro or built-in:
424 Built-ins can be removed with
432 The built-in
435 In particular, M4 has pre-defined the names
461 User-defined macros may also have arguments, so different invocations
523 define(a, b c)
528 .UL b\ \ \ c .
534 define(a, (b,c))
538 .UL (b,c) .
541 Arithmetic Built-ins
543 M4 provides two built-in functions for doing arithmetic
560 The more general mechanism for arithmetic is a built-in
611 the built-in function
686 The built-in
696 built-in.
712 To facilitate making unique file names, the built-in
722 There is a built-in called
727 ifelse(a, b, c, d)
732 .UL b .
748 which prevent too-early evaluation of
755 and thus provides a limited form of multi-way decision capability.
758 ifelse(a, b, c, d, e, f, g)
763 .UL b ,
778 ifelse(a, b, c)
785 .UL b ,
790 The built-in
798 .UL len((a,b))
801 The built-in
836 occurs, or \-1
842 The built-in
880 There is also a built-in called
901 divert(-1)
909 The built-in
924 Summary of Built-ins
940 5 ifelse(a, b, c, d)
967 B. W. Kernighan and P. J. Plauger,
970 Addison-Wesley, Inc., 1976.