does.
#| -*-Scheme-*-
-$Id: compiler.sf,v 1.7 1995/01/06 18:38:37 cph Exp $
+$Id: compiler.sf,v 1.8 1996/04/23 21:05:30 cph Exp $
-Copyright (c) 1992-95 Massachusetts Institute of Technology
+Copyright (c) 1992-96 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
;; Rebuild the package constructors and cref.
(cref/generate-constructors "compiler")
-(sf "compiler.con")
-(sf "compiler.ldr")
\ No newline at end of file
+(sf-conditionally "compiler.con")
+(sf-conditionally "compiler.ldr")
\ No newline at end of file
#| -*-Scheme-*-
-$Id: cref.sf,v 1.8 1995/01/06 19:25:59 cph Exp $
+$Id: cref.sf,v 1.9 1996/04/23 21:09:04 cph Exp $
-Copyright (c) 1988-95 Massachusetts Institute of Technology
+Copyright (c) 1988-96 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(begin
(load-option 'CREF)
(cref/generate-constructors "cref")
- (sf "cref.con")
- (sf "cref.ldr")))
\ No newline at end of file
+ (sf-conditionally "cref.con")
+ (sf-conditionally "cref.ldr")))
\ No newline at end of file
;;; -*-Scheme-*-
;;;
-;;; $Id: edwin.sf,v 1.17 1995/11/04 05:58:44 cph Exp $
+;;; $Id: edwin.sf,v 1.18 1996/04/23 21:09:51 cph Exp $
;;;
-;;; Copyright (c) 1991-95 Massachusetts Institute of Technology
+;;; Copyright (c) 1991-96 Massachusetts Institute of Technology
;;;
;;; This material was developed by the Scheme project at the
;;; Massachusetts Institute of Technology, Department of
(write-globals pathname pmodel)
(write-constructor pathname pmodel))))))
(generate package-name)
- (sf (pathname-new-type package-name "con"))
+ (sf-conditionally (pathname-new-type package-name "con"))
(if (and (file-exists? (pathname-new-type package-name "avd"))
(not (file-processed? package-name "avd" "bad")))
(fasdump (read-file (pathname-new-type package-name "avd"))
(pathname-new-type package-name "bad"))))
-(if (not (file-processed? "edwin" "ldr" "bld"))
- (sf "edwin.ldr"))
+(sf-conditionally "edwin.ldr")
)
\ No newline at end of file
#| -*-Scheme-*-
-$Id: runtime.sf,v 14.11 1995/01/06 18:37:20 cph Exp $
+$Id: runtime.sf,v 14.12 1996/04/23 21:10:56 cph Exp $
-Copyright (c) 1988-95 Massachusetts Institute of Technology
+Copyright (c) 1988-96 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
MIT in each case. |#
(fluid-let ((sf/default-syntax-table syntax-table/system-internal))
+ (sf-conditionally "char")
+ (sf-conditionally "graphics")
+ (sf-conditionally "infstr")
+ (sf-conditionally "os2winp")
+ (sf-conditionally "gentag")
+ (sf-conditionally "gencache")
(sf-directory "."))
;; Guarantee that the package modeller is loaded. load-option ensures
;; is loaded.
(load-option 'CREF)
(cref/generate-constructors "runtime")
-(sf "runtime.con")
-(sf "runtime.ldr")
+(sf-conditionally "runtime.con")
+(sf-conditionally "runtime.ldr")
(if (file-exists? "runtime.avd")
(fasdump (read-file "runtime.avd") "runtime.bad"))
\ No newline at end of file
#| -*-Scheme-*-
-$Id: butils.scm,v 4.8 1993/11/09 04:17:02 gjr Exp $
+$Id: butils.scm,v 4.9 1996/04/23 21:01:48 cph Exp $
-Copyright (c) 1988-1993 Massachusetts Institute of Technology
+Copyright (c) 1988-96 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(define (sf-conditionally filename #!optional echo-up-to-date?)
(let ((kernel
(lambda (filename)
- (cond ((not (file-processed? filename "scm" "bin"))
- (sf filename))
- ((and (not (default-object? echo-up-to-date?))
- echo-up-to-date?)
- (newline)
- (write-string "Syntax file: ")
- (write filename)
- (write-string " is up to date"))))))
+ (call-with-values
+ (lambda () (sf/pathname-defaulting filename #f #f))
+ (lambda (input output spec)
+ spec
+ (cond ((not (compare-file-modification-times input output))
+ (sf filename))
+ ((and (not (default-object? echo-up-to-date?))
+ echo-up-to-date?)
+ (newline)
+ (write-string "Syntax file: ")
+ (write filename)
+ (write-string " is up to date"))))))))
(if (pair? filename)
(for-each kernel filename)
(kernel filename))))
#| -*-Scheme-*-
-$Id: sf.sf,v 4.6 1995/01/06 18:36:33 cph Exp $
+$Id: sf.sf,v 4.7 1996/04/23 21:04:44 cph Exp $
-Copyright (c) 1988-95 Massachusetts Institute of Technology
+Copyright (c) 1988-96 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(load-option 'CREF)
(cref/generate-constructors "sf")
-(sf "sf.con")
-(sf "sf.ldr")
\ No newline at end of file
+(sf-conditionally "sf.con")
+(sf-conditionally "sf.ldr")
\ No newline at end of file