#| -*-Scheme-*-
-$Id: dbgutl.scm,v 14.18 2001/03/21 05:39:39 cph Exp $
+$Id: dbgutl.scm,v 14.19 2001/03/21 19:15:04 cph Exp $
Copyright (c) 1988-2001 Massachusetts Institute of Technology
(cond ((string? name)
(write-string (string-upcase name)))
((interned-symbol? name)
- (write-string (string-upcase (symbol->string name)) port))
+ (write-string (string-upcase (symbol-name name)) port))
(else
(write name port))))
#| -*-Scheme-*-
-$Id: gensym.scm,v 14.5 1999/01/02 06:11:34 cph Exp $
+$Id: gensym.scm,v 14.6 2001/03/21 19:15:07 cph Exp $
-Copyright (c) 1988-1999 Massachusetts Institute of Technology
+Copyright (c) 1988-2001 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.
|#
;;;; Symbol Generation
((string? argument)
argument)
((symbol? argument)
- (symbol->string argument))
+ (symbol-name argument))
((exact-nonnegative-integer? argument)
(set! name-counter argument)
name-prefix)
#| -*-Scheme-*-
-$Id: infstr.scm,v 1.9 1999/01/02 06:06:43 cph Exp $
+$Id: infstr.scm,v 1.10 2001/03/21 19:15:10 cph Exp $
-Copyright (c) 1988-1999 Massachusetts Institute of Technology
+Copyright (c) 1988-2001 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.
|#
;;;; Compiled Code Information: Structures
`(DEFINE-INTEGRABLE ,symbol
',((ucode-primitive string->symbol)
(string-append "#[(runtime compiler-info)"
- (string-downcase (symbol->string symbol))
+ (string-downcase (symbol-name symbol))
"]")))))))
;; Various names used in `layout' to identify things that wouldn't
;; otherwise have names.
#| -*-Scheme-*-
-$Id: infutl.scm,v 1.63 2001/03/21 05:39:44 cph Exp $
+$Id: infutl.scm,v 1.64 2001/03/21 19:15:12 cph Exp $
Copyright (c) 1988-2001 Massachusetts Institute of Technology
(and procedure
(let ((name (dbg-procedure/name procedure)))
(or (special-form-procedure-name? name)
- (symbol->string name))))))
+ (symbol-name name))))))
(define load-debugging-info-on-demand?
#f)
(define (special-form-procedure-name? name)
(let ((association (assq name special-form-procedure-names)))
(and association
- (symbol->string (cdr association)))))
+ (symbol-name (cdr association)))))
(define special-form-procedure-names)
#| -*-Scheme-*-
-$Id: pp.scm,v 14.40 1999/12/22 20:29:26 cph Exp $
+$Id: pp.scm,v 14.41 2001/03/21 19:15:16 cph Exp $
-Copyright (c) 1988-1999 Massachusetts Institute of Technology
+Copyright (c) 1988-2001 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.
|#
;;;; Pretty Printer
;;; or the print-name of a symbol wasn't worth the speed that would
;;; be gained by keeping it around.
-(define-integrable (%symbol->string symbol)
- (system-pair-car symbol))
-
(define-integrable (symbol-length symbol)
- (string-length (%symbol->string symbol)))
+ (string-length (symbol-name symbol)))
(define-integrable (*unparse-symbol symbol)
- (*unparse-string (%symbol->string symbol)))
+ (*unparse-string (symbol-name symbol)))
(define-structure (prefix-node
(conc-name prefix-node-)
#| -*-Scheme-*-
-$Id: syntax.scm,v 14.32 1999/10/23 02:46:46 cph Exp $
+$Id: syntax.scm,v 14.33 2001/03/21 19:15:18 cph Exp $
-Copyright (c) 1988-1999 Massachusetts Institute of Technology
+Copyright (c) 1988-2001 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.
|#
;;;; SYNTAX: S-Expressions -> SCODE
(cons
(string-append "SYNTAX: "
(if *current-keyword*
- (string-append (symbol->string *current-keyword*)
+ (string-append (symbol-name *current-keyword*)
": "
message)
message))
#| -*-Scheme-*-
-$Id: uerror.scm,v 14.46 2001/03/08 18:43:07 cph Exp $
+$Id: uerror.scm,v 14.47 2001/03/21 19:15:22 cph Exp $
Copyright (c) 1988-2001 Massachusetts Institute of Technology
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.
|#
;;;; Microcode Errors
(and code
((ucode-primitive system-call-error-message 1) code)))
(if (symbol? error-type)
- (string-replace (symbol->string error-type) #\- #\space)
+ (string-replace (symbol-name error-type) #\- #\space)
(string-append "error " (write-to-string error-type)))))
(define (normalize-trap-code-name name)
#| -*-Scheme-*-
-$Id: unpars.scm,v 14.46 1999/01/02 06:19:10 cph Exp $
+$Id: unpars.scm,v 14.47 2001/03/21 19:15:26 cph Exp $
-Copyright (c) 1988-1999 Massachusetts Institute of Technology
+Copyright (c) 1988-2001 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.
|#
;;;; Unparser
(*unparse-with-brackets 'UNINTERNED-SYMBOL symbol unparse-symbol))))
(define (unparse-symbol symbol)
- (*unparse-string (symbol->string symbol)))
+ (*unparse-string (symbol-name symbol)))
(define (unparse/character character)
(if (or *slashify?*
#| -*-Scheme-*-
-$Id: unsyn.scm,v 14.20 1999/01/02 06:19:10 cph Exp $
+$Id: unsyn.scm,v 14.21 2001/03/21 19:15:29 cph Exp $
-Copyright (c) 1988-1999 Massachusetts Institute of Technology
+Copyright (c) 1988-2001 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.
|#
;;;; UNSYNTAX: SCode -> S-Expression
(define (unsyntax-error keyword message . irritants)
(apply error
- (cons (string-append "UNSYNTAX: " (symbol->string keyword) ": "
+ (cons (string-append "UNSYNTAX: " (symbol-name keyword) ": "
message)
irritants)))
\f