#| -*-Scheme-*-
-$Id: debug.scm,v 1.67 2004/02/16 05:43:03 cph Exp $
+$Id: debug.scm,v 1.68 2004/12/06 21:26:13 cph Exp $
Copyright 1992,1993,1994,1995,1996,1997 Massachusetts Institute of Technology
Copyright 1998,1999,2000,2001,2002,2003 Massachusetts Institute of Technology
(call-with-interface-port
(buffer-end buffer)
(lambda (port)
+ port
(hook/repl-eval #f
(prompt-for-expression prompt)
(if (default-object? environment)
#| -*-Scheme-*-
-$Id: format.scm,v 14.8 2003/02/14 18:28:32 cph Exp $
+$Id: format.scm,v 14.9 2004/12/06 21:17:03 cph Exp $
-Copyright (c) 1988-1999 Massachusetts Institute of Technology
+Copyright 1986,1987,1988,1991,2004 Massachusetts Institute of Technology
This file is part of MIT/GNU Scheme.
\f
;;;; Formatters
-(define (((format-insert-character character) modifiers #!optional n)
- port string arguments)
- (if (default-object? n)
- (output-port/write-char port character)
- (let loop ((i 0))
- (if (not (= i n))
- (begin (output-port/write-char port character)
- (loop (1+ i))))))
- (format-loop port string arguments))
+(define (format-insert-character character)
+ (lambda (modifiers #!optional n)
+ modifiers
+ (lambda (port string arguments)
+ (if (default-object? n)
+ (output-port/write-char port character)
+ (let loop ((i 0))
+ (if (not (= i n))
+ (begin (output-port/write-char port character)
+ (loop (1+ i))))))
+ (format-loop port string arguments))))
(define ((format-ignore-comment modifiers) port string arguments)
modifiers ;ignore
#| -*-Scheme-*-
-$Id: load.scm,v 14.67 2004/11/19 17:28:51 cph Exp $
+$Id: load.scm,v 14.68 2004/12/06 21:21:44 cph Exp $
Copyright 1988,1989,1990,1991,1992,1993 Massachusetts Institute of Technology
Copyright 1994,1999,2000,2001,2002,2003 Massachusetts Institute of Technology
;;;; Loader for packed binaries
(define (load-packed-binaries pathname fname count environment)
+ fname
+
(define (process-bunch alist)
(let ((real-load load)
(real-fasload fasload)
#| -*-Scheme-*-
-$Id: regexp.scm,v 1.13 2003/03/07 21:22:51 cph Exp $
+$Id: regexp.scm,v 1.14 2004/12/06 21:27:31 cph Exp $
-Copyright 1986, 1989-1999 Massachusetts Institute of Technology
+Copyright 1999,2000,2003,2004 Massachusetts Institute of Technology
This file is part of MIT/GNU Scheme.
(re-match-start-index i regs)
(re-match-end-index i regs)))
\f
-(define (make-substring-operation name primitive)
+(define (make-substring-operation primitive)
(lambda (regexp string start end #!optional case-fold? syntax-table)
(let ((regexp
(if (compiled-regexp? regexp)
(make-re-registers regs)))))
(define re-substring-match
- (make-substring-operation 'RE-SUBSTRING-MATCH
- (ucode-primitive re-match-substring)))
+ (make-substring-operation (ucode-primitive re-match-substring)))
(define re-substring-search-forward
- (make-substring-operation 'RE-SUBSTRING-SEARCH-FORWARD
- (ucode-primitive re-search-substring-forward)))
+ (make-substring-operation (ucode-primitive re-search-substring-forward)))
(define re-substring-search-backward
- (make-substring-operation 'RE-SUBSTRING-SEARCH-BACKWARD
- (ucode-primitive re-search-substring-backward)))
+ (make-substring-operation (ucode-primitive re-search-substring-backward)))
(define (make-string-operation substring-operation)
(lambda (regexp string #!optional case-fold? syntax-table)
#| -*-Scheme-*-
-$Id: unicode.scm,v 1.20 2004/11/19 18:11:29 cph Exp $
+$Id: unicode.scm,v 1.21 2004/12/06 21:27:35 cph Exp $
Copyright 2001,2003,2004 Massachusetts Institute of Technology
(write-string suffix output-port)))))
#f)))
(lambda (bytes #!optional start end)
- (make-port type (open-input-byte-buffer string start end #f)))))
+ (make-port type (open-input-byte-buffer bytes start end #f)))))
(define (utf-string->wide-string string start end source-char caller)
(let ((source (open-input-byte-buffer string start end caller)))