Skip to content

Commit 37e09af

Browse files
committed
Merge master into cl-compatible
2 parents 9cfd655 + abfa0a7 commit 37e09af

25 files changed

+201
-125
lines changed

doc/jlatex/jcontrols.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ \subsection{ローカル関数}
9393
{\bf flet}と{\bf labels}との違いは、
9494
{\bf flet}で定義されたローカル関数は、その他の関数を参照または再帰できないが、
9595
{\bf labels}は相互の参照を許可する。}
96+
97+
\specialdesc{macrolet}{ (\{name lambda-list . body)\}*) \{form\}*}{
98+
ローカルマクロを定義する。}
9699
\end{refdesc}
97100

98101
\subsection{ブロックとExit}

doc/jlatex/jgenerals.tex

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -528,22 +528,22 @@ \subsection{特殊書式}
528528
\begin{center}
529529
{\large
530530
\begin{tabular}{|l l l|} \hline
531-
and & flet & quote \\
532-
block & function & return-from\\
533-
catch & go & setq \\
534-
cond & if & tagbody \\
535-
declare & labels & the \\
536-
defmacro & let & throw \\
537-
defmethod & let* & unwind-protect \\
538-
defun & progn & while \\
539-
eval-when & or & \\
531+
and & flet & progn \\
532+
block & function & quote\\
533+
catch & go & return-from\\
534+
cond & if & setq\\
535+
declare & labels & tagbody\\
536+
defmacro & let & the\\
537+
defmethod & let* & throw\\
538+
defun & macrolet & unwind-protect\\
539+
eval-when & or & while\\
540540
\hline
541541
\end{tabular} }
542542
\end{center}
543543
\end{table}
544544

545545
全ての特殊書式は、表\ref{SpecialForms}にリストされている。
546-
{\bf macrolet, compiler-let,}や{\bf progv}は、該当しない。
546+
{\bf symbol-macrolet, compiler-let,}や{\bf progv}は、該当しない。
547547
特殊書式は、文脈の評価および制御フローの管理のための
548548
基本的な言語構造である。
549549
インタプリタとコンパイラは、これらの構造をそれぞれ正しく処理する

doc/jlatex/jintro.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ \subsection{Common Lispとの互換性}
144144
\item いくつかのデータ型:
145145
complex number, bignum, ratio, character, deftype
146146
\item いくつかの特殊書式:
147-
progv, compiler-let,macrolet
147+
progv, compiler-let, symbol-macrolet
148148
\end{enumerate}
149149

150150
次の特徴は、まだ完全でない。:

doc/jlatex/jmanual.dvi

-847 KB
Binary file not shown.

doc/jlatex/jmanual.pdf

-941 KB
Binary file not shown.

doc/jlatex/jsymbols.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ \subsection{symbol}
102102

103103
\specialdesc{defmacro}{symbol [documentation] lambda-list . body}{
104104
グローバルマクロを定義する。
105-
EusLispは、ローカルスコープマクロ定義の機能を持っていない。}
105+
ローカルマクロを定義するためには、{\bf macrolet}を使用すること。}
106106

107107
\macrodesc{defvar}{var \&optional (init nil) doc}{
108108
もし{\em var}が特殊値を持っていれば、{\bf defvar} は何もしない。

doc/latex/controls.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ \subsection{Local Functions}
9494
The difference between {\em flet} and {\em labels} is,
9595
the local functions defined by {\em flet} cannot reference
9696
each other or recursively, whereas {\em labels} allows such mutual references.}
97+
98+
\specialdesc{macrolet}{ (\{(name lambda-list . body)\}*) \{form\}*}{
99+
defines local macros.}
97100
\end{refdesc}
98101

99102
\subsection{Blocks and Exits}

doc/latex/generals.tex

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -542,23 +542,23 @@ \subsection{Special Forms}
542542
\begin{center}
543543
{\large
544544
\begin{tabular}{|l l l|} \hline
545-
and & flet & quote \\
546-
block & function & return-from\\
547-
catch & go & setq \\
548-
cond & if & tagbody \\
549-
declare & labels & the \\
550-
defmacro & let & throw \\
551-
defmethod & let* & unwind-protect \\
552-
defun & progn & while \\
553-
eval-when & or & \\
545+
and & flet & progn \\
546+
block & function & quote\\
547+
catch & go & return-from\\
548+
cond & if & setq\\
549+
declare & labels & tagbody\\
550+
defmacro & let & the\\
551+
defmethod & let* & throw\\
552+
defun & macrolet & unwind-protect\\
553+
eval-when & or & while\\
554554
\hline
555555
\end{tabular} }
556556
\end{center}
557557
\caption{\label{SpecialForms}EusLisp's special forms}
558558
\end{table}
559559

560560
All the special forms are listed in Table \ref{SpecialForms}.
561-
{\bf macrolet, compiler-let,} and {\bf progv} have not been implemented.
561+
{\bf symbol-macrolet, compiler-let,} and {\bf progv} have not been implemented.
562562
Special forms are essential language constructs for the management of
563563
evaluation contexts and control flows.
564564
The interpreter and compiler have special knowledge to

doc/latex/intro.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ \subsection{Compatibility with Common Lisp}
221221
complex number, bignum, character, deftype and ratio (this last
222222
one is present only in a limited way as well);
223223
\item some of special forms:
224-
progv, compiler-let,macrolet
224+
progv, compiler-let, symbol-macrolet
225225
\end{enumerate}
226226

227227
Following features are incomplete:

doc/latex/manual.dvi

-888 KB
Binary file not shown.

0 commit comments

Comments
 (0)