aboutsummaryrefslogtreecommitdiffstats
path: root/hobbit.texi
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:34 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:34 -0800
commit50eb784bfcf15ee3c6b0b53d747db92673395040 (patch)
tree60f039bb5aa27bc58d92ab0c7bab0d82dbfe7686 /hobbit.texi
parentae2b295c7deaf2d7c18ad1ed9b6050970e56bae7 (diff)
downloadscm-50eb784bfcf15ee3c6b0b53d747db92673395040.tar.gz
scm-50eb784bfcf15ee3c6b0b53d747db92673395040.zip
Import Upstream version 5e3upstream/5e3
Diffstat (limited to 'hobbit.texi')
-rw-r--r--hobbit.texi93
1 files changed, 38 insertions, 55 deletions
diff --git a/hobbit.texi b/hobbit.texi
index 1afa9c4..0e59bf3 100644
--- a/hobbit.texi
+++ b/hobbit.texi
@@ -8,6 +8,31 @@
@paragraphindent 0
@c %**end of header
+@copying
+@noindent
+This manual is for the Hobbit compiler for SCM (version
+@value{SCMVERSION}, @value{SCMDATE}),
+
+@noindent
+Copyright @copyright{} 2002 Free Software Foundation
+
+@quotation
+Permission is granted to make and distribute verbatim copies of
+this manual provided the copyright notice and this permission notice
+are preserved on all copies.
+
+Permission is granted to copy and distribute modified versions of this
+manual under the conditions for verbatim copying, provided that the entire
+resulting derived work is distributed under the terms of a permission
+notice identical to this one.
+
+Permission is granted to copy and distribute translations of this manual
+into another language, under the above conditions for modified versions,
+except that this permission notice may be stated in a translation approved
+by the author.
+@end quotation
+@end copying
+
@dircategory The Algorithmic Language Scheme
@direntry
* hobbit: (hobbit). SCM Compiler.
@@ -24,40 +49,22 @@
@title Hobbit
@subtitle SCM Compiler
@subtitle Version @value{SCMVERSION}
-@author by Tanel Tammet
+@author Tanel Tammet
@author Department of Computing Science
@author Chalmers University of Technology
@author University of Go"teborg
@author S-41296 Go"teborg Sweden
-
@page
-This Hobbit documentation was converted to texinfo format by Aubrey
-Jaffer; and released as part of the SCM @value{SCMVERSION} distribution
-@value{SCMDATE}.
-
-@vskip 0pt plus 1filll
-Copyright @copyright{} 1990-1999, 2002 Free Software Foundation
-
-Permission is granted to make and distribute verbatim copies of
-this manual provided the copyright notice and this permission notice
-are preserved on all copies.
-
-Permission is granted to copy and distribute modified versions of this
-manual under the conditions for verbatim copying, provided that the entire
-resulting derived work is distributed under the terms of a permission
-notice identical to this one.
-
-Permission is granted to copy and distribute translations of this manual
-into another language, under the above conditions for modified versions,
-except that this permission notice may be stated in a translation approved
-by the author.
+@insertcopying
@end titlepage
+@contents
+
+@ifnottex
@node Top, Introduction, (dir), (dir)
+@top Hobbit
-@ifinfo
-Hobbit is an optimizing R4RS-Scheme to C compiler written by Tanel
-Tammet.
+@insertcopying
@menu
* Introduction::
@@ -68,31 +75,7 @@ Tammet.
* About Hobbit::
* Index::
@end menu
-
-Copyright (C) 1990-1999, 2002 Free Software Foundation
-
-Permission is granted to make and distribute verbatim copies of
-this manual provided the copyright notice and this permission notice
-are preserved on all copies.
-
-@ignore
-Permission is granted to process this file through TeX and print the
-results, provided the printed document carries copying permission
-notice identical to this one except for the removal of this paragraph
-(this paragraph not being relevant to the printed manual).
-
-@end ignore
-Permission is granted to copy and distribute modified versions of this
-manual under the conditions for verbatim copying, provided that the entire
-resulting derived work is distributed under the terms of a permission
-notice identical to this one.
-
-Permission is granted to copy and distribute translations of this manual
-into another language, under the above conditions for modified versions,
-except that this permission notice may be stated in a translation approved
-by the author.
-@end ifinfo
-
+@end ifnottex
@node Introduction, Compiling with Hobbit, Top, Top
@chapter Introduction
@@ -334,7 +317,7 @@ Selecting the type of arithmetics.
By default hobbit assumes that only immediate (ie small, up to 30 bits)
integers are used. It will automatically assume general arithmetics in
case it finds any non-immediate numbers like 1.2 or 10000000000000 or
-real-only procedures like @t{$sin} anywhere in the source.
+real-only procedures like @t{real-sin} anywhere in the source.
Another way to make Hobbit assume that generic arithmetic supported
by SCM (ie exact and/or inexact reals, bignums) is also used, is to
@@ -636,8 +619,9 @@ correspondence with the SCM interpreter while hindering the speed):
@example
@group
-$sqrt $abs $exp $log $sin $cos $tan $asin $acos
-$atan $sinh $cosh $tanh $asinh $acosh $atanh $expt
+real-sqrt real-exp real-ln real-expt real-sin real-cos real-tan
+real-asin real-acos real-atan real-sinh real-cosh real-tanh real-asinh
+real-acosh real-atanh
@end group
@end example
@@ -1429,7 +1413,7 @@ Puzzle | 0.28 0.41 | 0.46(0.22 gc) 0.03
(do ((l (string-length s) (+ 1 l)))
((>= l d) (display s))
(display #\0)))
- (if (zero? (modulo j 10)) (newline) (display #\ )))
+ (if (zero? (modulo j 10)) (newline) (display #\space)))
(newline)))
@end group
@end example
@@ -2281,5 +2265,4 @@ the first release
@printindex fn
-@contents
@bye