|
@@ -10,7 +10,7 @@
|
|
@include version.texi
|
|
@include version.texi
|
|
|
|
|
|
@copying
|
|
@copying
|
|
-Copyright @copyright{} 2016, 2017, 2018 Eric Bavier
|
|
|
|
|
|
+Copyright @copyright{} 2016, 2017, 2018, 2020 Eric Bavier
|
|
|
|
|
|
Permission is granted to copy, distribute and/or modify this document
|
|
Permission is granted to copy, distribute and/or modify this document
|
|
under the terms of the GNU Free Documentation License, Version 1.3 or
|
|
under the terms of the GNU Free Documentation License, Version 1.3 or
|
|
@@ -70,11 +70,10 @@ mostly compatible, except for the notable lack of support for ``sets''.
|
|
@node Installation
|
|
@node Installation
|
|
@chapter Installation
|
|
@chapter Installation
|
|
|
|
|
|
-Joy is available for download from its website at
|
|
|
|
-@url{http://nahne.info/joy}. Building Joy from source uses the same
|
|
|
|
-build procedure as that for GNU software. See the files @file{README}
|
|
|
|
-and @file{INSTALL} in the source tree for additional details. It
|
|
|
|
-requires @url{http://gnu.org/software/guile/, GNU Guile}.
|
|
|
|
|
|
+Installing Joy from source uses the same build procedure as that for GNU
|
|
|
|
+software. See the files @file{README} and @file{INSTALL} in the source
|
|
|
|
+tree for additional details. It requires
|
|
|
|
+@url{http://gnu.org/software/guile/, GNU Guile}.
|
|
|
|
|
|
After building Joy successfully, it is a good idea to run the test
|
|
After building Joy successfully, it is a good idea to run the test
|
|
suite. Reporting any failures is a good way to help improve the
|
|
suite. Reporting any failures is a good way to help improve the
|
|
@@ -410,14 +409,14 @@ found, this file will be compiled and executed. Typically files
|
|
included with this operator contain only operator definitions.
|
|
included with this operator contain only operator definitions.
|
|
@end deffn
|
|
@end deffn
|
|
|
|
|
|
-@deffn {Joy Operator} exit A @result{} @math{\perp}
|
|
|
|
|
|
+@deffn {Joy Operator} exit A @result{}
|
|
This operator expects an integer as the topmost stack element.
|
|
This operator expects an integer as the topmost stack element.
|
|
Immediately stops execution and exits with the integer status at the
|
|
Immediately stops execution and exits with the integer status at the
|
|
top of the stack.
|
|
top of the stack.
|
|
|
|
|
|
@example
|
|
@example
|
|
[1 2 >] ["success" putchars] [1 exit] ifte .
|
|
[1 2 >] ["success" putchars] [1 exit] ifte .
|
|
-@result{} @math{\perp}
|
|
|
|
|
|
+@result{}
|
|
@end example
|
|
@end example
|
|
@end deffn
|
|
@end deffn
|
|
|
|
|
|
@@ -718,13 +717,13 @@ This is an alias for @code{divmod}.
|
|
@end deffn
|
|
@end deffn
|
|
|
|
|
|
@deffn {Joy Operator} within X Y Z @result{} t/f
|
|
@deffn {Joy Operator} within X Y Z @result{} t/f
|
|
-Pushes @code{true} onto the stack if the integer inequality @math{Y
|
|
|
|
-\le X \lt Z} holds, otherwise @code{false}.
|
|
|
|
|
|
+Pushes @code{true} onto the stack if the integer inequality @var{Y}
|
|
|
|
+@leq{} @var{X} < @var{Z} holds, otherwise @code{false}.
|
|
@end deffn
|
|
@end deffn
|
|
|
|
|
|
@deffn {Joy Operator} within? X Y Z @result{} t/f
|
|
@deffn {Joy Operator} within? X Y Z @result{} t/f
|
|
-Pushes @code{true} onto the stack if the integer inequality @math{Y
|
|
|
|
-\le X \le Z} holds, otherwise @code{false}.
|
|
|
|
|
|
+Pushes @code{true} onto the stack if the integer inequality @var{Y}
|
|
|
|
+@leq{} @var{X} @leq{} @var{Z} holds, otherwise @code{false}.
|
|
@end deffn
|
|
@end deffn
|
|
|
|
|
|
@deffn {Joy Operator} cr A @result{} A
|
|
@deffn {Joy Operator} cr A @result{} A
|