author | Alan Dipert
<alan@dipert.org> 2020-02-20 21:23:40 UTC |
committer | Alan Dipert
<alan@dipert.org> 2020-02-20 21:23:40 UTC |
parent | 32d03dc16648ef50adc50cc0f13ea60054dea8ab |
paper/jacl-els-2020.tex | +3 | -3 |
diff --git a/paper/jacl-els-2020.tex b/paper/jacl-els-2020.tex index 218b248..b5ae7cb 100644 --- a/paper/jacl-els-2020.tex +++ b/paper/jacl-els-2020.tex @@ -164,7 +164,7 @@ JSCL supports reading from string-backed pseudo-streams. Input streams from which characters may be synchronously consumed are not an abstraction supported by JavaScript in Web browsers. With a few obscure exceptions\footnote{\texttt{window.prompt()} and - \texttt{window.confirm()}}, JavaScript programs may only receive + \texttt{window.confirm()}.}, JavaScript programs may only receive input asynchronously. An error is signaled if the end of a string-backed input stream is encountered before the reader has finished reading a datum. @@ -485,7 +485,7 @@ JACL also supplies a convenience macro, \texttt{JACL:\textbackslash.} or ``the dot macro'' for performing a series of field accesses and method calls\footnote{Strictly speaking, JavaScript ``method calls'' are normal function calls but with a particular value of - \texttt{this}} concisely. Dot takes direct inspiration from + \texttt{this}.} concisely. Dot takes direct inspiration from Clojure's \texttt{..} macro. \texttt{JACL:\textbackslash.} expands to zero or more nested \texttt{JACL:\%DOT} or \texttt{JACL:\%CALL} forms. Here is an example of a \texttt{JACL:\textbackslash.} form --- @@ -546,7 +546,7 @@ JACL's high-level AST will facilitate the identification of usages of availability of a high-level AST will also facilitate other related optimizations, such as \texttt{GO} tag escape\footnote{Such as by use within a \texttt{LAMBDA} form that is assigned as the value of a - global variable or passed to a function} analysis. It should be + global variable or passed to a function.} analysis. It should be possible to identify \texttt{TAGBODY}s that consist only of local jumps, and to avoid generating \texttt{try/catch} boilerplate for them, thereby reducing generated code size.