<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//en">

<!–Converted with LaTeX2HTML 2022 (Released January 1, 2022) –> <HTML lang="en"> <HEAD> <TITLE>Contents of Typesetting Expressions</TITLE>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0"> <META NAME="Generator" CONTENT="LaTeX2HTML v2022">

<LINK REL="STYLESHEET" HREF="apl_tug.css">

<LINK REL="next" HREF="node8_mn.html"> <LINK REL="previous" HREF="node6_mn.html"> <LINK REL="up" HREF="node4_mn.html"> <LINK REL="next" HREF="node8_mn.html"> </HEAD>

<BODY bgcolor="#ffffff" text="#000000" link="#9944EE" vlink="#0000ff" alink="#00ff00">

<H2><A ID="SECTION00043000000000000000"> Typesetting <IMG STYLE="height: 39.24ex; vertical-align: 139.30ex; " SRC="img1.png" ALT="APL"> Expressions</A> </H2>

<P> Finally, our system enables the user to typeset <I>APL</I> expressions. The expression

<P> <BR> <IMG STYLE="height: 2.59ex; vertical-align: 175.81ex; " SRC="img12.png" ALT="
\begin{APLbold}\begin{APLexpr}
\APLX\APLleftarrow\APLtwo\APLspace\APLtwo\APLrho
...
...\APLB
\APLquote\APLspace\APLquote\APLbr\APLC\APLquote
\end{APLexpr}\end{APLbold}
"> <BR>

<P> which happens to be the one used to generate the matrix <IMG STYLE="height: 1.96ex; vertical-align: 177.20ex; " SRC="img6.png" ALT="$\APLX$"> (our example for formatting arrays) is printed by:

<P> <PRE>
\begin{APLbold}\begin{APLexpr}
\APLX\APLleftarrow\APLtwo\APLspace
\APLtwo\APLrho
\APLleftparen\APLtwo\APLspace\APLtwo
...
\end{APLexpr}\end{APLbold}
</PRE>

<P> The environment <TT>APLexpr</TT> provides the traditional six space indentation for user input.

<P>

<HR>

</BODY> </HTML>