diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/lisp-on-tex/README')
-rw-r--r-- | Master/texmf-dist/doc/latex/lisp-on-tex/README | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/lisp-on-tex/README b/Master/texmf-dist/doc/latex/lisp-on-tex/README index b3d3b60b6ed..d3cec712624 100644 --- a/Master/texmf-dist/doc/latex/lisp-on-tex/README +++ b/Master/texmf-dist/doc/latex/lisp-on-tex/README @@ -6,7 +6,7 @@ %% ===== LISP on TeX --- A LISP interpreter on TeX ====== -Version 1.2 +Version 1.3 Author : HAKUTA Shizuya <hak7a3@live.jp> ==== Introduction ==== @@ -41,6 +41,8 @@ lisp-util.sty : Utility functions written with LISP on TeX. lisp-mod-fpnum.sty : The module which enables us to use fixed point numbers. : See the "Fixed Point Numbers" section in this document. -------------------------------------------------------------------------------------- +test.tex : test code (using qstest.sty). +-------------------------------------------------------------------------------------- examples/* : Example files. See the "Examples" section. -------------------------------------------------------------------------------------- tug2013/* : The slide and examples used on TUG2013. @@ -82,6 +84,8 @@ It is the better way to know about LISP on TeX. -- It works on XeLaTeX. * repl.tex -- The Read-Eval-Print Loop interpretor of lisp-on-tex. + * nqueen.tex + -- Calculate 5-queens problem. ==== Syntax ==== The syntax of LISP on TeX is the following; @@ -169,6 +173,20 @@ The syntax of LISP on TeX is the following; * (\> <S-exp 1> <S-exp 2>) -- Let n be the evaluation result of <S-exp 1> and m be that of <S-exp 2>. If n > m, it returns /t. Otherwise, it returns /f. + * (\leq <int 1> <int 2>) + -- Return (<int 1> <= <int 2>) + * (\geq <int 1> <int 2>) + -- Return (<int 1> >= <int 2>) + * (\isZeroQ <int>) + -- Return (<int> == 0) + * (\positiveQ <int>) + -- Return (<int> > 0) + * (\negativeQ <int>) + -- Return (<int> < 0) + * (\max <int 1> <int 2> ... ) + -- Return the max value of the arguments + * (\min <int 1> <int 2> ... ) + -- Return the minimal value of the arguments === Manipulation of Strings === * (\concat <string 1> <string 2>) @@ -240,8 +258,16 @@ The syntax of LISP on TeX is the following; * (\fplt <S-exp 1> <S-exp 2>) -- Let n be the evaluation result of <S-exp 1> and m be that of <S-exp 2>. If n < m, it returns /t. Otherwise, it returns /f. +==== Continuations ==== + * (\callOCC <closure>) + -- One shot continuations. + -- It calls (<closure> c) where c is the current continuation. ==== CHANGELOG ==== + * Jul. 12, 2014 : 1.3 + -- Add one shot continuations. + -- Add some arithmetical functions. + -- Debug environment. * Jan. 03, 2014 : 1.2 -- Added TUG2013's examples. -- Improved the performance. |