<s>
TTM	B-Language
is	O
a	O
string	O
oriented	O
,	O
general	B-Application
purpose	I-Application
macro	I-Application
processing	I-Application
programming	O
language	O
developed	O
in	O
1968	O
by	O
Steven	O
Caine	O
and	O
E	O
.	O
Kent	O
Gordon	O
at	O
the	O
California	O
Institute	O
of	O
Technology	O
.	O
</s>
<s>
The	O
following	O
description	O
is	O
taken	O
from	O
the	O
original	O
TTM	B-Language
reference	O
manual	O
and	O
the	O
subsequent	O
batch	O
processing	O
extension	O
.	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>
Initially	O
,	O
TTM	B-Language
was	O
planned	O
as	O
the	O
macro	O
processing	O
portion	O
of	O
an	O
assembler	O
for	O
the	O
IBM	O
System/360	O
and	O
was	O
designed	O
to	O
overcome	O
the	O
restrictions	O
and	O
inconsistencies	O
which	O
existed	O
in	O
the	O
standard	O
assemblers	O
for	O
that	O
system	O
.	O
</s>
<s>
During	O
the	O
development	O
of	O
TTM	B-Language
,	O
it	O
became	O
apparent	O
that	O
applications	O
other	O
than	O
assembler	O
macro	O
processing	O
were	O
possible	O
.	O
</s>
<s>
The	O
initial	O
version	O
of	O
TTM	B-Language
was	O
implemented	O
to	O
run	O
in	O
a	O
conversational	O
manner	O
under	O
the	O
Caltech	O
Basic	O
Time	O
Sharing	O
System	O
for	O
the	O
IBM	B-Device
System/360	I-Device
Model	I-Device
50	I-Device
.	O
</s>
<s>
The	O
reference	O
implementation	O
assumes	O
that	O
TTM	B-Language
is	O
given	O
a	O
text	O
file	O
containing	O
some	O
combination	O
of	O
ordinary	O
text	O
and	O
TTM	B-Language
function	O
calls	O
(	O
i.e.	O
</s>
<s>
If	O
a	O
TTM	B-Language
function	O
is	O
encountered	O
,	O
it	O
is	O
collected	O
and	O
executed	O
.	O
</s>
<s>
As	O
with	O
other	O
applicative	B-Application
programming	I-Application
languages	I-Application
,	O
a	O
TTM	B-Language
function	O
may	O
be	O
recursive	O
and	O
may	O
be	O
defined	O
as	O
the	O
result	O
of	O
the	O
invocation	O
of	O
a	O
sequence	O
of	O
other	O
function	O
calls	O
.	O
</s>
<s>
The	O
first	O
function	O
,	O
ds	O
for	O
"	O
define	O
string	O
"	O
,	O
defines	O
a	O
named	O
string	O
in	O
the	O
TTM	B-Language
dictionary	O
.	O
</s>
<s>
If	O
a	O
string	O
is	O
enclosed	O
in	O
<...>	O
,	O
then	O
it	O
is	O
scanned	O
but	O
not	O
interpreted	O
by	O
TTM	B-Language
.	O
</s>
<s>
The	O
def	O
function	O
operates	O
by	O
invoking	O
ds	O
to	O
define	O
the	O
function	O
name	O
and	O
initial	O
text	O
in	O
the	O
TTM	B-Language
dictionary	O
–	O
XX	O
in	O
our	O
example	O
.	O
</s>
