Add optional arithmetic-interface code.
authorGerald Jay Sussman <edu/mit/gjs>
Thu, 9 Nov 1989 03:45:06 +0000 (03:45 +0000)
committerGerald Jay Sussman <edu/mit/gjs>
Thu, 9 Nov 1989 03:45:06 +0000 (03:45 +0000)
v7/src/runtime/option.scm
v7/src/runtime/runtime.pkg
v7/src/runtime/version.scm
v8/src/runtime/runtime.pkg

index 7586cb612db3f183e114878d48358562bd7e431f..f9cccdb878fcf6789378738416230124d4151e24 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/option.scm,v 14.5 1989/08/03 23:06:31 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/option.scm,v 14.6 1989/11/09 03:44:56 gjs Exp $
 
 Copyright (c) 1988, 1989 Massachusetts Institute of Technology
 
@@ -61,6 +61,7 @@ MIT in each case. |#
     name))
 
 (define options
-  '((FORMAT ((RUNTIME FORMAT) (INITIALIZE-PACKAGE!) "format"))
-    (STARBASE
-     ((RUNTIME OLD-STARBASE-GRAPHICS) (INITIALIZE-PACKAGE!) "Sgraph"))))
\ No newline at end of file
+  '((ARITHMETIC-INTERFACE ((RUNTIME NUMBER INTERFACE) #F "numint"))
+    (FORMAT ((RUNTIME FORMAT) (INITIALIZE-PACKAGE!) "format"))
+    (STARBASE ((RUNTIME OLD-STARBASE-GRAPHICS) (INITIALIZE-PACKAGE!) "Sgraph"))
+    ))
\ No newline at end of file
index 39a0817b2daae5cbbcae7f4e8b0d7182ebc34a75..fae7bc0aa1c63beccc40c2f0082caa7be35fdb02 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/runtime.pkg,v 14.54 1989/10/27 04:43:21 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/runtime.pkg,v 14.55 1989/11/09 03:45:00 gjs Exp $
 
 Copyright (c) 1988, 1989 Massachusetts Institute of Technology
 
@@ -1026,6 +1026,21 @@ MIT in each case. |#
   (export (runtime number-parser)
          bad-range)
   (initialization (initialize-package!)))
+
+(define-package (runtime number interface)
+  (file-case options
+    ((load) "numint")
+    (else))
+  (parent (runtime number))
+  (export ()
+         complex-package
+         integer-package
+         make-accumulation-operator
+         make-arithmetic-package
+         make-inverse-accumulation-operator
+         rational-package
+         real-package))
+
 (define-package (runtime number-parser)
   (files "numpar")
   (parent ())
index 6f5fcd7121e308319e175c54d5116bbca84599d0..6e386a7ddf15a8b7cdfd1ebd8735d0fa6dd6b765 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/version.scm,v 14.64 1989/10/31 04:41:28 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/version.scm,v 14.65 1989/11/09 03:45:06 gjs Exp $
 
 Copyright (c) 1988, 1989 Massachusetts Institute of Technology
 
@@ -45,7 +45,7 @@ MIT in each case. |#
                     '()))
   (add-system! microcode-system)
   (add-event-receiver! event:after-restore snarf-microcode-version!)
-  (add-identification! "Runtime" 14 64))
+  (add-identification! "Runtime" 14 65))
 (define microcode-system)
 
 (define (snarf-microcode-version!)
index 57cf6049a5c3f8372b02f75038b81cf2de2e8590..663582d9cfd0db012e0a3775aa815aa8e4d8bb67 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/runtime.pkg,v 14.54 1989/10/27 04:43:21 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/runtime.pkg,v 14.55 1989/11/09 03:45:00 gjs Exp $
 
 Copyright (c) 1988, 1989 Massachusetts Institute of Technology
 
@@ -1026,6 +1026,21 @@ MIT in each case. |#
   (export (runtime number-parser)
          bad-range)
   (initialization (initialize-package!)))
+
+(define-package (runtime number interface)
+  (file-case options
+    ((load) "numint")
+    (else))
+  (parent (runtime number))
+  (export ()
+         complex-package
+         integer-package
+         make-accumulation-operator
+         make-arithmetic-package
+         make-inverse-accumulation-operator
+         rational-package
+         real-package))
+
 (define-package (runtime number-parser)
   (files "numpar")
   (parent ())