<s>
In	O
computing	O
,	O
Pic	B-Language
is	O
a	O
domain-specific	B-Language
programming	I-Language
language	I-Language
by	O
Brian	O
Kernighan	O
for	O
specifying	O
line	O
diagrams	O
.	O
</s>
<s>
Pic	B-Language
is	O
a	O
procedural	B-Application
programming	I-Application
language	I-Application
,	O
with	O
variable	O
assignment	O
,	O
macros	O
,	O
conditionals	O
,	O
and	O
looping	O
.	O
</s>
<s>
The	O
language	O
is	O
an	O
example	O
of	O
a	O
little	B-Language
language	I-Language
originally	O
intended	O
for	O
the	O
comfort	O
of	O
non-programmers	O
in	O
the	O
Unix	B-Application
environment	O
(	O
Bentley	O
1988	O
)	O
.	O
</s>
<s>
Pic	B-Language
was	O
implemented	O
using	O
Yacc	B-Application
compiler-compiler	O
.	O
</s>
<s>
Pic	B-Language
was	O
first	O
implemented	O
as	O
a	O
preprocessor	B-General_Concept
in	O
the	O
troff	B-Language
document	O
processing	O
system	O
but	O
is	O
now	O
often	O
used	O
with	O
LaTeX	B-Application
.	O
</s>
<s>
The	O
pic	B-Language
preprocessor	B-General_Concept
filters	B-Application
a	O
source	O
document	O
,	O
replacing	O
diagram	O
descriptions	O
by	O
drawing	O
commands	O
in	O
a	O
specified	O
format	O
,	O
and	O
passing	O
the	O
rest	O
of	O
the	O
document	O
through	O
without	O
change	O
.	O
</s>
<s>
A	O
version	O
of	O
pic	B-Language
is	O
included	O
in	O
groff	B-Application
,	O
the	O
GNU	B-Operating_System
version	O
of	O
troff	B-Language
.	O
</s>
<s>
GNU	B-Operating_System
pic	B-Language
can	O
also	O
act	O
as	O
a	O
preprocessor	B-General_Concept
for	O
TeX	B-Application
documents	O
,	O
emitting	O
its	O
own	O
tpic	B-Language
DVI	B-Application
specials	I-Application
,	O
which	O
are	O
n't	O
as	O
widely	O
supported	O
as	O
those	O
of	O
other	O
TeX	B-Application
graphic	O
facilities	O
.	O
</s>
<s>
Arbitrary	O
diagram	O
text	O
can	O
be	O
included	O
for	O
formatting	O
by	O
the	O
word	O
processor	O
to	O
which	O
the	O
pic	B-Language
output	O
is	O
directed	O
,	O
and	O
arbitrary	O
graphic	O
processor	O
commands	O
can	O
also	O
be	O
included	O
.	O
</s>
<s>
Dwight	O
Aplevich	O
's	O
implementation	O
,	O
,	O
can	O
also	O
generate	O
pdf	O
,	O
postscript	O
,	O
svg	O
,	O
and	O
other	O
images	O
by	O
itself	O
,	O
as	O
well	O
as	O
act	O
as	O
a	O
preprocessor	B-General_Concept
producing	O
several	O
LaTeX-compatible	O
output	O
formats	O
.	O
</s>
<s>
The	O
three	O
principal	O
sources	O
of	O
pic	B-Language
processors	O
are	O
GNU	B-Operating_System
pic	B-Language
,	O
found	O
on	O
many	O
Linux	B-Application
systems	O
,	O
and	O
dpic	O
,	O
both	O
of	O
which	O
are	O
free	O
,	O
and	O
the	O
original	O
AT&T	O
pic	B-Language
.	O
</s>
<s>
Pikchr	B-Language
(	O
pronounced	O
"	O
picture	O
"	O
)	O
is	O
a	O
modern	O
replacement	O
for	O
Pic	B-Language
in	O
some	O
contexts	O
,	O
designed	O
to	O
be	O
embedded	O
in	O
Markdown	O
,	O
instead	O
of	O
troff	B-Language
or	O
LaTeX	B-Application
.	O
</s>
<s>
It	O
should	O
run	O
most	O
of	O
the	O
example	O
scripts	O
contained	O
in	O
the	O
original	O
technical	O
report	O
on	O
Pic	B-Language
with	O
little	O
to	O
no	O
change	O
.	O
</s>
<s>
Created	O
by	O
D	O
.	O
Richard	O
Hipp	O
,	O
in	O
August	O
2020	O
,	O
it	O
is	O
used	O
in	O
Fossil	B-Protocol
,	O
SQLite	B-Language
,	O
and	O
.	O
</s>
<s>
Pic	B-Language
has	O
some	O
similarity	O
with	O
MetaPost	B-Language
and	O
the	O
DOT	B-Application
language	I-Application
.	O
</s>
