<dt><code>variable</code></dt>
<dd>Objects of type <code>variable</code> are commonly used to name objects and other kinds of entities. For example, the names of the types are objects of type <code>variable</code>: <code class="bg">object</code>, <code class="bg">void</code>, … An object of type <code>variable</code> is often simply called a variable when there is no risk of confusion.</dd>
<dt><code>empty-list</code></dt>
- <dd>There is exactly one object of type <code>empty-list</code>. Its readable representation is <code class="bg">()</code> and its purpose is to represent empty lists of objects. The single object of type <code>empty-list</code> is often simply called the empty list when there is no risk of confusion.</dd>
+ <dd>There is exactly one object of type <code>empty-list</code>. Its simplest readable representation is <code class="bg">()</code> and its purpose is to represent empty lists of objects. The single object of type <code>empty-list</code> is often simply called the empty list when there is no risk of confusion.</dd>
<dt><code>cons</code></dt>
<dd>Objects of type <code>cons</code> are ordered pairs of objects. The first/second element of an object of type <code>cons</code> is called its <a href="https://en.wikipedia.org/wiki/CAR_and_CDR" target="_blank">car/cdr</a>. An object of type <code>cons</code> is often simply called a cons when there is no risk of confusion. Conses are the building blocks of many data structures. In particular, conses can be chained together to represent nonempty lists of objects. A nonempty list of objects is represented by a cons whose car is the first element of the list and whose cdr is the sublist of the list obtained by omitting its first element. For example, the list <code class="bg">(1 2 3)</code> is represented by a chain of three conses: a first cons whose car is the number <code class="bg">1</code> and whose cdr is the second cons, a second cons whose car is the number <code class="bg">2</code> and whose cdr is the third cons, and a third cons whose car is the number <code class="bg">3</code> and whose cdr is the empty list.</dd>
<dt><code>vector</code></dt>
<li>Lookup rules are needed because, as we will see later in this section, three environments are always active at any given time. The lookup rules determine which environments to consult and in which order.</li>
</ul>
<p>A variable that is associated with an object through a binding belonging to namespace $X$ of environment $Y$ is said to be bound to the object in namespace $X$ of environment $Y$. A variable that is not associated with an object through a binding belonging to namespace $X$ of environment $Y$ is said to be unbound in namespace $X$ of environment $Y$.</p>
- <p>Objects, bindings, and environments are represented by nonoverlapping patterns of bits located inside a region of the computer's memory called the heap. Each object, binding, or environment is uniquely identified by the address of the pattern of bits that represents it. Like objects, bindings, and environments, addresses are also represented by patterns of bits. A reference to an object, binding, or environment is an instance of the pattern of bits that represents the address of the pattern of bits that represents the object, binding, or environment. By abuse of language, we often confuse a reference to an object, binding, or environment with the object, binding, or environment being referenced.</p>
- <p>The pattern of bits representing an object has two parts: one part specifying the type of the object and one part specifying which member of the type the object is.</p>
- <p>An object, binding, or environment references another object, binding, or environment by embedding into its representation a reference to that other object, binding, or environment:</p>
+ <p>Objects, bindings, and environments are patterns of bits located inside a region of the computer's memory called the heap. Each object, binding, or environment is uniquely identified by its address in the heap. An address, which is a nonnegative integer, can be represented by a pattern of bits. A reference to an object, binding, or environment is an instance of the pattern of bits representing the address of the object, binding, or environment. By abuse of language, we often confuse a reference to an object, binding, or environment with the object, binding, or environment itself.</p>
+ <p>An object, binding, or environment can reference another object, binding, or environment by embedding a reference to that other object, binding, or environment:</p>
<ul>
<li>A cons references two objects of arbitrary types (the car and the cdr of the cons).</li>
<li>A vector of length $n$ references $n$ objects of arbitrary types (the elements of the vector).</li>
- <li>A closure references a lambda abstraction (a list specifying an input/output mapping) and an environment.</li>
- <li>A binding references a variable (the name of the binding) and an object of arbitrary type (the value of the binding).</li>
+ <li>A closure references an object of type <code>list</code> (more specifically a lambda abstraction, defined later in this section) and an environment.</li>
+ <li>A binding references an object of type <code>variable</code> (the name of the binding) and an object of arbitrary type (the value of the binding).</li>
<li>An environment references its bindings.</li>
</ul>
- <p>The references embedded into the representation of an object, binding, or environment can be thought of as occupying memory locations denoted by the object, binding, or environment. For example, a cons can be thought of as denoting two memory locations: one containing a reference to the car of the cons and one containing a reference to the cdr of the cons. By abuse of language, we often say that a memory location contains an object, binding, or environment when in reality the memory location contains a reference to the object, binding, or environment.</p>
+ <p>The references embedded into an object, binding, or environment can be thought of as occupying memory locations denoted by the object, binding, or environment. For example, a cons can be thought of as denoting two memory locations: one containing a reference to the car of the cons and one containing a reference to the cdr of the cons. By abuse of language, we often say that a memory location contains an object, binding, or environment when in reality the memory location contains a reference to the object, binding, or environment.</p>
<p>Multiple objects, bindings, and/or environments can reference a common object, binding, or environment, leading to the sharing of the common object, binding, or environment. An object, binding, or environment can reference itself directly ($X\rightarrow X$) or indirectly ($X\rightarrow Y\rightarrow\cdots\rightarrow X$), leading to the existence of a cycle.</p>
<p>Objects of type <code>void</code>, <code>boolean</code>, <code>keyword</code>, <code>symbol</code>, and <code>empty-list</code> have the following uniqueness properties:</p>
<ul>
</ul>
<p>Objects of type <code>void</code>, <code>boolean</code>, <code>number</code>, <code>character</code>, <code>string</code>, <code>keyword</code>, <code>symbol</code>, <code>empty-list</code>, <code>primitive-function</code>, and <code>closure</code> are immutable and cannot be altered. Objects of type <code>cons</code> and <code>vector</code>, bindings, and environments are mutable and can be altered in the following ways:</p>
<ul>
- <li>The car or the cdr of a cons can be replaced by another object.</li>
+ <li>The car/cdr of a cons can be replaced by another object.</li>
<li>Any element of a vector can be replaced by another object.</li>
<li>The value of a binding can be replaced by another object.</li>
<li>A binding can be added to or deleted from an environment.</li>
<p>The primary value of a form whose evaluation has completed normally is defined as follows: If the result consists of one or more objects, then the primary value of the form is the first object. Otherwise, the primary value of the form is <code>#v</code>.</p>
<p>The abrupt completion of an evaluation has an associated reason, which has a type and carries a payload. An abrupt completion caused by an error has an associated reason of type <code>error</code>, which carries a payload consisting of two strings: the category of the error and a human-readable description of the error. An abrupt completion caused by a nonlocal exit has an associated reason of type <code>nonlocal-exit</code>, which carries a payload consisting of a variable (the exit tag identifying the exit point of the nonlocal exit) and a sequence of zero or more objects (the values to propagate to the exit point of the nonlocal exit).</p>
<p>Forms submitted to the evaluator through a <a href="#listener-buffers">listener buffer</a>, through the <a href="#evaluate-form">Evaluate Form</a> command, or through the <a href="#load-buffer">Load Buffer</a> command are called top-level forms. A consequence of the evaluation rules stated later in this section is that the evaluation of a top-level form usually entails the evaluation of other non-top-level forms.</p>
- <p>Execution of EVLambda code is achieved through interpretation or compilation.</p>
- <p>An interpreter for a language $X$ is a program capable of directly executing code written in language $X$. Language $X$ is called the source language of the interpreter. A compiler for a language $X$ is a program capable of translating code written in language $X$ into code written in a language $Y$. Language $X$ is called the source language of the compiler and language $Y$ is called the target language of the compiler. Code handed to an interpreter or compiler is called source code. A file containing source code is called a source file. Code produced by a compiler is called compiled code. A file containing compiled code is called a compiled file.</p>
- <p>An interpreter-based EVLambda evaluator executes EVLambda code by submitting the EVLambda code to its embedded EVLambda interpreter. A compiler-based EVLambda evaluator executes EVLambda code by first submitting the EVLambda code to its embedded EVLambda compiler and then arranging for the compiled code to be executed. Interpretation of EVLambda code and execution of compiled code occur at a time called run time. Compilation of EVLambda code occurs at a time called compile time.</p>
- <p>EVLambda source files contain not only EVLambda source code but also documentation in XML format. Documentation is ignored by interpreters and compilers but can be converted to HTML, together with the EVLambda source code, by a component of the programming language called the documentation generator.</p>
<p>Each evaluation is done with respect to three environments: a global environment, a lexical environment, and a dynamic environment. The reference manual will introduce the concepts of scope and extent. The different environments draw their names from the scope and extent of their bindings:</p>
<ul>
<li>A global environment contains bindings with indefinite scope and indefinite extent.</li>
<dt><code>(if $\metavar{test-form}$ $\metavar{then-form}$ $\metavar{else-form}$)</code></dt>
<dd>The test form is evaluated. Let $\mlvar{test}$ be the primary value of the test form. If $\mlvar{test}$ is not a boolean, then the evaluation of the <code>if</code> form completes abruptly for a reason of type <code>error</code>. If $\mlvar{test}$ is the boolean <code>#t</code>, then the then form is evaluated (but not the else form) and the <code>if</code> form evaluates to the values of the then form. If $\mlvar{test}$ is the boolean <code>#f</code>, then the else form is evaluated (but not the then form) and the <code>if</code> form evaluates to the values of the else form.</dd>
<dt><code>(_for-each $\metavar{function-form}$ $\metavar{list-form}$)</code></dt>
- <dd>This special form, which is a hack only needed and implemented by some of the interpreters, is described in the reference manual.</dd>
+ <dd>This special form, which is a hack only needed and implemented by some of the evaluators, is described in the reference manual.</dd>
<dt><code>(_vlambda $\metavar{parameter-list}$ $\metavar{body}$)</code></dt>
<dt><code>(_mlambda $\metavar{parameter-list}$ $\metavar{body}$)</code></dt>
<dt><code>(_flambda $\metavar{parameter-list}$ $\metavar{body}$)</code></dt>
<li>The evaluation of the top-level form completes abruptly for a reason of type <code>error</code>.</li>
<li>The evaluation of the top-level form does not complete.</li>
</ul>
- <p>The special operator <code>_for-each</code> has an underscore at the beginning of its name because it is a hack only needed and implemented by some of the interpreters. The special operators <code>_vlambda</code>, <code>_mlambda</code>, <code>_flambda</code>, and <code>_dlambda</code> have an underscore at the beginning of their names to distinguish them from the similarly named macros <code>vlambda</code>, <code>mlambda</code>, <code>flambda</code>, and <code>dlambda</code>. The purpose of those macros is to facilitate the creation of closures accepting a variable number of arguments. The special operator <code>_handler-bind</code> has an underscore at the beginning of its name to distinguish it from the similarly named macro <code>handler-bind</code>.</p>
+ <p>The special operator <code>_for-each</code> has an underscore at the beginning of its name because it is a hack only needed and implemented by some of the evaluators. The special operators <code>_vlambda</code>, <code>_mlambda</code>, <code>_flambda</code>, and <code>_dlambda</code> have an underscore at the beginning of their names to distinguish them from the similarly named macros <code>vlambda</code>, <code>mlambda</code>, <code>flambda</code>, and <code>dlambda</code>. The purpose of those macros is to facilitate the creation of closures accepting a variable number of arguments. The special operator <code>_handler-bind</code> has an underscore at the beginning of its name to distinguish it from the similarly named macro <code>handler-bind</code>.</p>
<p>The evaluator uses a data structure called a control stack to coordinate its activities. Each time a top-level form is submitted to the evaluator, a new control stack is created that will be used throughout the evaluation of the top-level form. The same control stack is used to evaluate the top-level form and all the non-top-level forms whose evaluations are entailed by the evaluation of the top-level form.</p>
<p>An evaluation/invocation that completes normally produces a result/output consisting of zero or more objects. The production of that result/output, which only occurs if the evaluation/invocation completes normally, is the primary effect of the evaluation/invocation. In addition to or in place of its primary effect, an evaluation/invocation can also have secondary effects called side effects. Examples of side effects are:</p>
<ul>
<li>The transfer of information from the outside world to the form/function (an input operation).</li>
<li>The transfer of information from the form/function to the outside world (an output operation).</li>
</ul>
- <p>A consequence of the existence of side effects is that the repeated evaluations of the same form or the repeated invocations of the same function on the same arguments do not necessarily have the same outcome and, if they complete normally, do not necessarily produce the same result/output.</p>
+ <p>A consequence of the existence of side effects is that the repeated evaluations of the same form or the repeated invocations of the same function on the same arguments do not necessarily have the same outcome and, if they complete normally, do not necessarily produce the same result/output. The section <a href="#listener-buffers">Listener Buffers</a> contains many instances of this phenomenon.</p>
<p>It is customary for a special operator, function, or macro that can alter objects, bindings, and/or environments to have a name ending with an exclamation mark. This explains the exclamation mark in the names of the special operators <code>vset!</code>, <code>fset!</code>, and <code>dset!</code>.</p>
+ <p>Execution of EVLambda code is achieved through interpretation or compilation.</p>
+ <p>An interpreter for a language $X$ is a program capable of directly executing code written in language $X$. Language $X$ is called the source language of the interpreter. A compiler for a language $X$ is a program capable of translating code written in language $X$ into code written in a language $Y$. Language $X$ is called the source language of the compiler and language $Y$ is called the target language of the compiler. Code handed to an interpreter or compiler is called source code. A file containing source code is called a source file. Code produced by a compiler is called compiled code. A file containing compiled code is called a compiled file.</p>
+ <p>An interpreter-based EVLambda evaluator executes EVLambda code by submitting the EVLambda code to its embedded EVLambda interpreter. A compiler-based EVLambda evaluator executes EVLambda code by first submitting the EVLambda code to its embedded EVLambda compiler and then arranging for the compiled code to be executed. Interpretation of EVLambda code and execution of compiled code occur at a time called run time. Compilation of EVLambda code occurs at a time called compile time.</p>
+ <p>EVLambda source files contain not only EVLambda source code but also documentation in XML format. Documentation is ignored by interpreters and compilers but can be converted to HTML, together with the EVLambda source code, by a component of the programming language called the documentation generator.</p>
<h2>Integrated Development Environment</h2>
<p>The integrated development environment (IDE) is a web application that can run either from the EVLambda web server (online mode) or from a web server running on the user's machine (offline mode). The code running in the web browser is exactly the same in both modes but the behavior of the IDE is slightly different because the backends have different capabilities.</p>
<p>The IDE's graphical user interface consists of a menu bar at the top left, an info bar at the top right, a minibuffer at the bottom, and a set of windows in the main area. Each window consists of a contents area and a status bar. At any given time, a window displays the contents of a buffer, of which there are two types: the file buffers and the listener buffers. A given buffer can be displayed in any number of windows (including zero) and any buffer can be displayed in any window. This organization around buffers and windows is borrowed from the <a href="https://www.gnu.org/software/emacs/" target="_blank">Emacs</a> text editor.</p>
<p>A file buffer is a buffer whose contents reflects the contents of a file. The contents of the buffer is read from the file through open and revert operations and written into the file through save operations. When a window displays the contents of a file buffer, its status bar displays the name of the file, followed by a star when the current contents of the buffer differs from the contents that was last read from or written into the file.</p>
<p>When the IDE starts, it automatically opens a predefined set of files. In online mode, the files are located in a directory on the machine hosting the EVLambda web server. In offline mode, the files are located in the directory <code><EVLAMBDA_HOME>/system-files</code> on the user's machine.</p>
<p>A listener buffer is a buffer that allows the user to evaluate forms interactively. When a window displays the contents of a listener buffer, its status bar displays the name of the buffer. Currently, the IDE has exactly one listener buffer whose name is “Listener 1”.</p>
- <p>At any given time, there is exactly one selected window and, by extension, exactly one selected buffer. The status bar of the selected window is darker than the status bar of the nonselected windows. A window becomes the selected window when it receives the focus, which happens for instance when it receives a click event.</p>
+ <p>At any given time, there is exactly one selected window and, by extension, exactly one selected buffer. Compared to the status bars of the nonselected windows, the status bar of the selected window is darker in light mode and lighter in dark mode. A window becomes the selected window when it receives the focus, which happens for instance when it receives a click event.</p>
<p>Currently, the only function of the minibuffer is to display messages and evaluation results.</p>
<h2>File Buffers</h2>
<p>A window can display the contents of a file buffer in one of two modes: raw mode or HTML mode. In raw mode, the contents of the buffer is displayed in the <a href="https://codemirror.net/" target="_blank">CodeMirror</a> text editor. In HTML mode, the contents of the buffer, or some HTML contents derived from the contents of the buffer, is displayed in an HTML viewer.</p>
<li>If the user presses the Return or Enter key when (1) the cursor is not at the very end of the buffer or (2) the form is missing or incomplete, then a newline is simply inserted into the buffer and no evaluation takes place.</li>
<li>If the evaluation completes abruptly, then the reason for the abrupt completion is necessarily of type <code>error</code> and a message combining the category and the description carried by the reason is printed in place of the printable representations of the (nonexisting) resulting values.</li>
<li>If the evaluation does not complete, then the user must abort the evaluation or restart the evaluator in order to get a new prompt.</li>
+ <li>Each listener buffer keeps a circular record of the forms that have been evaluated:
+ <ul>
+ <li>Ctrl-Alt-ArrowUp (Ctrl-Cmd-ArrowUp on macOS) recalls the previous form.</li>
+ <li>Ctrl-Alt-ArrowDown (Ctrl-Cmd-ArrowDown on macOS) recalls the next form.</li>
+ </ul>
+ </li>
</ul>
<p>Some of the concepts introduced in the section <a href="#programming-language">Programming Language</a> will now be illustrated by providing a commented transcript of a sequence of evaluations conducted in a listener buffer. If you want to reproduce the evaluations, be sure to start with a fresh trampoline++ evaluator. To get a fresh trampoline++ evaluator, restart the evaluator (using the Restart Evaluator… command from the Eval menu) with Trampoline++ selected.</p>
<p>The global functions used in the evaluations are listed below. For each function, a template function call, an indication of the outcome of the invocation, and a description of the function's behavior are provided. The variable in operator position is the name of the function (i.e., the variable bound to the function in the function namespace of the global environment). The arguments named after a type must be of that type, otherwise the invocation completes abruptly for a reason of type <code>error</code>.</p>
<dd>The macro creates an infinite loop repeatedly evaluating the serial forms in sequence from left to right. For example, the macro call <code>(loop)</code> endlessly does nothing. The evaluation of the macro call normally does not complete but there are ways to exit an infinite loop.</dd>
</dl>
<p>For any object $\object$, <code>'$\object$</code> is an abbreviation for <code>(quote $\object$)</code>.</p>
- <p>Here is the commented transcript, where each gray box contains a form and its values. The character ⏎ marks the places where the Return or Enter key should be pressed.</p>
+ <p>Here is the commented transcript, where each gray box contains a form and its values. The character ⏎ marks the places where the Return or Enter key should be pressed. Left-clicking on a form copies it to the clipboard.</p>
<pre class="repl"><span class="form">> (+ 1 2)⏎</span><br>3</pre>
<p>The evaluation produces a result consisting of the sum of the two numbers <code>1</code> and <code>2</code>. Because numbers are self-evaluating, quoting the numbers is not necessary.</p>
<pre class="repl"><span class="form">> (+ '1 '2)⏎</span><br>3</pre>
<h3>File Menu</h3>
<h4>Save Buffer</h4>
<p>The command writes the contents of the selected file buffer into its associated file.</p>
- <p>The command is not available in online mode.</p>
+ <p>The command is not available in online mode or when the display mode is HTML.</p>
<h4>Revert Buffer…</h4>
<p>The command reverts the contents of the selected file buffer to the contents of its associated file.</p>
+ <p>The command is not available when the display mode is HTML.</p>
<h3>Edit Menu</h3>
<h4>Toggle HTML Mode</h4>
<p>The command toggles the selected window between raw and HTML modes.</p>
<p>The command is only available when the selected window displays the contents of an all-caps file or an EVLambda source file.</p>
<h4>Clear Listener…</h4>
<p>The command clears the selected listener buffer.</p>
- <p>All contents before the last prompt is deleted.</p>
+ <p>The contents before the last prompt and the record of the forms that have been evaluated are deleted.</p>
+ <h4>Settings…</h4>
+ <p>The following settings can be modified:</p>
+ <ul>
+ <li>The color scheme: light mode (default) or dark mode.</li>
+ <li>The font size: from 10px to 32px (default = 16px).</li>
+ </ul>
+ <p>The settings are stored in the browser's local storage.</p>
<h3>Eval Menu</h3>
<h4 id="evaluate-form">Evaluate Form</h4>
<p>The command evaluates a top-level form contained inside the selected file buffer.</p>
- <p>The command is only available when the selected window displays the contents of an EVLambda source file.</p>
+ <p>The command is only available when the selected window displays the contents of an EVLambda source file in raw mode.</p>
<p>A top-level form is a form that is not contained inside another form.</p>
<p>The top-level form to evaluate is selected as follows:</p>
<ul>
<p>If the evaluation of the top-level form completes normally, then the printable representations of the resulting values are printed in the minibuffer, separated by a comma. If the evaluation of the top-level form completes abruptly, then the reason for the abrupt completion is necessarily of type <code>error</code> and a message combining the category and the description carried by the reason is printed in the minibuffer. If the evaluation of the top-level form does not complete, then no new evaluation is possible until the evaluation is aborted or the evaluator is restarted.</p>
<h4 id="load-buffer">Load Buffer</h4>
<p>The command evaluates the top-level forms contained inside the selected file buffer.</p>
- <p>The command is only available when the selected window displays the contents of an EVLambda source file.</p>
+ <p>The command is only available when the selected window displays the contents of an EVLambda source file in raw mode.</p>
<p>The top-level forms contained inside the selected file buffer are evaluated as if they were part of a <code>progn</code> form.</p>
<p>If the evaluation of the <code>progn</code> form completes normally, then the printable representations of the resulting values are printed in the minibuffer, separated by a comma. If the evaluation of the <code>progn</code> form completes abruptly, then the reason for the abrupt completion is necessarily of type <code>error</code> and a message combining the category and the description carried by the reason is printed in the minibuffer. If the evaluation of the <code>progn</code> form does not complete, then no new evaluation is possible until the evaluation is aborted or the evaluator is restarted.</p>
<h4>Abort Evaluation</h4>
</ul>
<p>Only the trampoline and trampoline++ evaluators allow unbounded iterations through tail-recursive calls. The other evaluators are only useful as stepping stones to understand the trampoline and trampoline++ evaluators. The trampoline++ evaluator is an optimized version of the trampoline evaluator.</p>
<h3>View Menu</h3>
- <h4>Select Other Window</h4>
- <p>The command selects one of the nonselected windows.</p>
- <p>The command is not available when the selected window is maximized.</p>
+ <h4>Select Previous/Next Window</h4>
+ <p>The commands select the previous/next window (with respect to the selected window).</p>
+ <p>The windows are ordered from left to right and from top to bottom.</p>
+ <p>The commands are not available when the selected window is maximized or there is only one window.</p>
<h4>Toggle Maximized State</h4>
<p>The command toggles the selected window between unmaximized and maximized states.</p>
+ <p>The command is not available when there is only one window.</p>
+ <h4>Delete This Window</h4>
+ <p>The command deletes the selected window.</p>
+ <p>The command is not available when the selected window is maximized or there is only one window.</p>
+ <h4>Delete Other Windows</h4>
+ <p>The command deletes the windows other than the selected window.</p>
+ <p>The command is not available when the selected window is maximized or there is only one window.</p>
+ <h4>Split Window Vertically</h4>
+ <p>The command splits the selected window vertically. The selected window becomes the top window.</p>
+ <p>The command is not available when the selected window is maximized.</p>
+ <h4>Split Window Horizontally</h4>
+ <p>The command splits the selected window horizontally. The selected window becomes the left window.</p>
+ <p>The command is not available when the selected window is maximized.</p>
<h3>Buffer Menu</h3>
<p>The buffer menu allows the user to select the buffer displayed in the selected window.</p>
<p>The buffer menu contains the following entries:</p>
<tr><td>Ctrl-z</td><td>Ctrl-z</td><td>Cmd-z</td><td>undo</td></tr>
<tr><td>Ctrl-y</td><td>Ctrl-y</td><td>Cmd-Shift-z</td><td>redo</td></tr>
<tr><td>Ctrl-Shift-z</td><td>N/A</td><td>N/A</td><td>redo</td></tr>
- <tr><td>Tab</td><td>Tab</td><td>Tab</td><td>indentSelection</td></tr>
+ <tr class="bg"><td>Tab</td><td>Tab</td><td>Tab</td><td>indentSelection</td></tr>
+ <tr class="bg"><td>Esc then Tab</td><td>Esc then Tab</td><td>Esc then Tab</td><td>move focus forward</td></tr>
+ <tr class="bg"><td>Esc then Shift-Tab</td><td>Esc then Shift-Tab</td><td>Esc then Shift-Tab</td><td>move focus backward</td></tr>
+ <tr class="bg"><td>Ctrl-m</td><td>Ctrl-m</td><td>Alt-Shift-m</td><td>toggleTabFocusMode</td></tr>
<tr><td>Ctrl-f</td><td>Ctrl-f</td><td>Cmd-f</td><td>openSearchPanel</td></tr>
<tr><td>F3</td><td>F3</td><td>F3</td><td>findNext</td></tr>
<tr><td>Shift-F3</td><td>Shift-F3</td><td>Shift-F3</td><td>findPrevious</td></tr>
<tr><td>Ctrl-Alt-h</td><td>Ctrl-Alt-h</td><td>Ctrl-Cmd-h</td><td>Toggle HTML Mode</td></tr>
<tr><td>Ctrl-Alt-e</td><td>Ctrl-Alt-e</td><td>Ctrl-Cmd-e</td><td>Evaluate Form</td></tr>
<tr><td>Ctrl-Alt-l</td><td>Ctrl-Alt-l</td><td>Ctrl-Cmd-l</td><td>Load Buffer</td></tr>
- <tr><td>Ctrl-Alt-o</td><td>Ctrl-Alt-o</td><td>Ctrl-Cmd-o</td><td>Select Other Window</td></tr>
+ <tr><td>Ctrl-Alt-ArrowLeft</td><td>Ctrl-Alt-ArrowLeft</td><td>Ctrl-Cmd-ArrowLeft</td><td>Select Previous Window</td></tr>
+ <tr><td>Ctrl-Alt-ArrowRight</td><td>Ctrl-Alt-ArrowRight</td><td>Ctrl-Cmd-ArrowRight</td><td>Select Next Window</td></tr>
<tr><td>Ctrl-Alt-m</td><td>Ctrl-Alt-m</td><td>Ctrl-Cmd-m</td><td>Toggle Maximized State</td></tr>
+ <tr><td>Ctrl-Alt-ArrowUp</td><td>Ctrl-Alt-ArrowUp</td><td>Ctrl-Cmd-ArrowUp</td><td>Select Previous Form</td></tr>
+ <tr><td>Ctrl-Alt-ArrowDown</td><td>Ctrl-Alt-ArrowDown</td><td>Ctrl-Cmd-ArrowDown</td><td>Select Next Form</td></tr>
</table>
</body>
</html>