summaryrefslogtreecommitdiffstats
path: root/hobbit.texi
diff options
context:
space:
mode:
authorThomas Bushnell <tb@debian.org>2006-10-23 23:31:59 -0700
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:35 -0800
commit906cc4f0899080f1b832af98b7ccbcc257b8a64e (patch)
tree14e3ec231debdca4da9c1a3ccc0536033c1c8a4b /hobbit.texi
parent3d573fa54db0fdcae8b2a20356faa46c8e335206 (diff)
parent50eb784bfcf15ee3c6b0b53d747db92673395040 (diff)
downloadscm-debian/5e3-1.tar.gz
scm-debian/5e3-1.zip
Import Debian changes 5e3-1debian/5e3-1
scm (5e3-1) unstable; urgency=low * New upstream release. * debian/control (Architecture): Add ia64 to list of supported archs. Now everything but s390 is listed. (Closes: #335980) (Build-Depends): Require at least version 3a4 of slib. * Change to continue.h from version 5e1-2 repeated here. * Change to xgen.scm from version 5e2-4 repeated here. * Change to scm.1 from version 5e2-4 repeated here.
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