<s>
A	O
general-purpose	B-Application
macro	I-Application
processor	I-Application
or	O
general	B-Application
purpose	I-Application
preprocessor	I-Application
is	O
a	O
macro	B-Application
processor	I-Application
that	O
is	O
not	O
tied	O
to	O
or	O
integrated	O
with	O
a	O
particular	O
language	O
or	O
piece	O
of	O
software	O
.	O
</s>
<s>
A	O
macro	B-Application
processor	I-Application
is	O
a	O
program	O
that	O
copies	O
a	O
stream	O
of	O
text	O
from	O
one	O
place	O
to	O
another	O
,	O
making	O
a	O
systematic	O
set	O
of	O
replacements	O
as	O
it	O
does	O
so	O
.	O
</s>
<s>
Macro	B-Application
processors	I-Application
are	O
often	O
embedded	O
in	O
other	O
programs	O
,	O
such	O
as	O
assemblers	O
and	O
compilers	O
.	O
</s>
<s>
Macro	B-Application
processors	I-Application
have	O
been	O
used	O
for	O
language	O
expansion	O
(	O
defining	O
new	O
language	O
constructs	O
that	O
can	O
be	O
expressed	O
in	O
terms	O
of	O
existing	O
language	O
components	O
)	O
,	O
for	O
systematic	O
text	O
replacements	O
that	O
require	O
decision	O
making	O
,	O
and	O
for	O
text	O
reformatting	O
(	O
e.g.	O
</s>
<s>
conditional	O
extraction	O
of	O
material	O
from	O
an	O
HTML	B-Language
file	I-Language
)	O
.	O
</s>
<s>
Name	O
Year	O
Description	O
GPM	O
1960s	O
One	O
of	O
the	O
earliest	O
macro	B-Application
processors	I-Application
was	O
GPM	O
(	O
the	O
)	O
.	O
</s>
<s>
One	O
particularly	O
important	O
general	B-Application
purpose	I-Application
macro	I-Application
processor	I-Application
was	O
(	O
and	O
still	O
is	O
)	O
ML/I	B-Language
(	O
Macro	O
Language	O
One	O
)	O
.	O
</s>
<s>
A	O
contemporary	O
of	O
ML/I	B-Language
was	O
STAGE2	O
,	O
part	O
of	O
William	O
Waite	O
's	O
Mobile	O
Programming	O
System	O
.	O
</s>
<s>
Early	O
macro	B-Application
processor	I-Application
developed	O
at	O
AT&T	O
Bell	O
Laboratories	O
by	O
Douglas	O
McIlroy	O
,	O
Robert	O
Morris	O
and	O
Andrew	O
Hall	O
.	O
</s>
<s>
It	O
was	O
influenced	O
by	O
GPM	O
and	O
TRAC	B-Language
.	O
</s>
<s>
TTM	B-Language
is	O
a	O
recursive	O
,	O
interpretive	O
language	O
designed	O
primarily	O
for	O
string	O
manipulation	O
,	O
text	O
editing	O
,	O
macro	O
definition	O
and	O
expansion	O
,	O
and	O
other	O
applications	O
generally	O
classified	O
as	O
systems	O
programming	O
.	O
</s>
<s>
Another	O
attempt	O
was	O
the	O
GMP	O
(	O
General	O
Macro	B-Application
Processor	I-Application
)	O
developed	O
in	O
the	O
mid-1970s	O
by	O
M	O
Boule	O
in	O
the	O
DLB/GC	O
department	O
of	O
the	O
CII	O
Company	O
along	O
ideas	O
from	O
R.J.	O
Chevance	O
.	O
</s>
<s>
It	O
was	O
ported	O
to	O
mini6	O
systems	O
and	O
was	O
the	O
main	O
component	O
involved	O
in	O
the	O
system	B-Application
generation	I-Application
for	O
this	O
family	O
of	O
computers	O
.	O
</s>
<s>
gema	O
is	O
a	O
contextual	O
macro	B-Application
processor	I-Application
based	O
on	O
pattern	O
matching	O
,	O
written	O
by	O
David	O
N	O
.	O
Gray	O
.	O
</s>
<s>
It	O
replaces/enhances	O
the	O
concept	O
of	O
regular	B-Language
expressions	I-Language
by	O
contexts	O
.	O
</s>
<s>
gpp	O
is	O
another	O
general	O
macro	B-Application
processor	I-Application
written	O
by	O
Denis	O
Auroux	O
.	O
</s>
<s>
m5	O
is	O
a	O
general-purpose	B-Application
macro	I-Application
processor	I-Application
written	O
by	O
William	O
A	O
.	O
</s>
<s>
Unlike	O
many	O
macroprocessors	B-Application
,	O
m5	O
does	O
not	O
directly	O
interpret	O
its	O
input	O
.	O
</s>
<s>
pyexpander	O
is	O
a	O
general-purpose	B-Application
macro	I-Application
processor	I-Application
based	O
on	O
the	O
Python	B-Language
programming	I-Language
language	I-Language
.	O
</s>
<s>
Text	O
Assembler	O
is	O
a	O
general-purpose	O
text/macro	O
processor	O
based	O
on	O
the	O
JavaScript	B-Language
programming	I-Language
language	I-Language
.	O
</s>
<s>
Beyond	O
simple	O
macro	O
replacement	O
,	O
it	O
allows	O
evaluating	O
arbitrary	O
JavaScript	B-Language
expressions	O
and	O
executing	O
JavaScript	B-Language
code	O
.	O
</s>
<s>
It	O
can	O
also	O
load	O
JSON	O
data	O
models	O
for	O
more	O
complex	O
data-driven	O
text	O
processing	O
tasks.PP2016PP	O
is	O
a	O
text	O
preprocessor	B-General_Concept
designed	O
for	O
Pandoc	B-Language
(	O
and	O
more	O
generally	O
Markdown	O
and	O
reStructuredText	O
)	O
.	O
</s>
<s>
minimac	O
is	O
a	O
minimalist	O
general	B-Application
purpose	I-Application
macro	I-Application
processor	I-Application
.	O
</s>
<s>
aa_macro	O
is	O
an	O
open-source	O
character-stream-based	O
text	O
processing	O
language	O
written	O
in	O
Python	B-Language
.	O
</s>
