<s>
Lout	B-Application
is	O
a	O
batch	O
document	O
formatter	O
invented	O
by	O
Jeffrey	O
H	O
.	O
Kingston	O
.	O
</s>
<s>
It	O
reads	O
a	O
high-level	O
description	O
of	O
a	O
document	O
similar	O
in	O
style	O
to	O
LaTeX	B-Application
and	O
produces	O
a	O
PostScript	B-Language
file	O
which	O
can	O
be	O
printed	O
on	O
most	O
printers	O
.	O
</s>
<s>
Plain	O
text	O
and	O
PDF	B-Application
output	O
are	O
also	O
available	O
.	O
</s>
<s>
The	O
term	O
Lout	B-Application
primarily	O
designates	O
a	O
document	O
formatting	O
programming	O
language	O
,	O
while	O
the	O
(	O
only	O
)	O
implementation	O
of	O
the	O
language	O
(	O
by	O
Jeffrey	O
H	O
.	O
Kingston	O
)	O
is	O
sometimes	O
referred	O
to	O
as	O
Basser	O
Lout	B-Application
.	O
</s>
<s>
Basser	O
Lout	B-Application
is	O
free	B-Application
software	I-Application
,	O
distributed	O
under	O
the	O
terms	O
of	O
the	O
GNU	B-License
General	I-License
Public	I-License
License	I-License
.	O
</s>
<s>
Lout	B-Application
copies	O
some	O
of	O
its	O
formatting	O
algorithms	O
from	O
TeX	B-Application
but	O
is	O
intended	O
to	O
be	O
much	O
easier	O
to	O
program	O
due	O
to	O
the	O
use	O
of	O
high-level	O
functional	B-Language
programming	I-Language
language	I-Language
,	O
instead	O
of	O
a	O
macro	O
language	O
.	O
</s>
<s>
While	O
a	O
typical	O
installation	O
of	O
LaTeX	B-Application
,	O
together	O
with	O
TeX	B-Application
binaries	O
takes	O
from	O
50	O
to	O
300	O
MB	O
,	O
Lout	B-Application
is	O
about	O
1	O
MB	O
.	O
</s>
<s>
This	O
is	O
mainly	O
due	O
to	O
fewer	O
packages	O
and	O
tools	O
,	O
but	O
might	O
also	O
be	O
attributed	O
to	O
a	O
C	B-Language
implementation	O
instead	O
of	O
macro	O
language	O
source	O
code	O
.	O
</s>
<s>
Lout	B-Application
comes	O
with	O
an	O
easy-to-read	O
user	O
guide	O
,	O
and	O
the	O
basics	O
can	O
be	O
learned	O
in	O
a	O
couple	O
of	O
hours	O
.	O
</s>
<s>
While	O
the	O
core	O
of	O
the	O
Lout	B-Application
programming	O
language	O
provides	O
only	O
low-level	O
operations	O
,	O
similar	O
to	O
that	O
of	O
TeX	B-Application
,	O
the	O
packages	O
that	O
come	O
with	O
Basser	O
Lout	B-Application
provide	O
a	O
complete	O
high-level	O
markup	O
language	O
that	O
users	O
may	O
use	O
directly	O
to	O
produce	O
documents	O
,	O
in	O
a	O
way	O
that	O
is	O
similar	O
to	O
LaTeX	B-Application
.	O
</s>
<s>
A	O
very	O
simple	O
Lout	B-Application
document	O
may	O
look	O
like	O
this	O
:	O
</s>
<s>
The	O
Lout	B-Application
programming	O
language	O
is	O
similar	O
to	O
other	O
functional	B-Language
languages	I-Language
.	O
</s>
<s>
Some	O
features	O
make	O
it	O
particularly	O
close	O
to	O
Haskell	B-Language
,	O
notably	O
the	O
fact	O
that	O
Lout	B-Application
expressions	O
are	O
lazily	O
evaluated	O
.	O
</s>
<s>
Lout	B-Application
also	O
provides	O
constructs	O
needed	O
for	O
the	O
implementation	O
of	O
document	O
formatting	O
that	O
are	O
not	O
commonly	O
found	O
in	O
other	O
programming	O
languages	O
,	O
such	O
as	O
galleys	O
.	O
</s>
<s>
Unlike	O
most	O
other	O
functional	B-Language
programming	I-Language
languages	I-Language
,	O
Lout	B-Application
does	O
not	O
provide	O
,	O
for	O
instance	O
,	O
first-class	B-Application
functions	I-Application
.	O
</s>
<s>
In	O
2019	O
Common	O
Vulnerabilities	O
and	O
Exposures	O
listed	O
two	O
buffer	B-General_Concept
overflow	I-General_Concept
issues	O
in	O
Lout	B-Application
,	O
which	O
can	O
be	O
exploited	O
if	O
untrusted	O
documents	O
are	O
processed	O
.	O
</s>
<s>
Debian	O
removed	O
Lout	B-Application
in	O
October	O
2020	O
due	O
to	O
these	O
issues	O
not	O
having	O
been	O
patched	O
;	O
the	O
package	O
had	O
had	O
no	O
maintainer	O
since	O
2013	O
.	O
</s>
