#| -*-Scheme-*-
-$Id: parse.scm,v 14.52 2004/11/04 03:01:18 cph Exp $
+$Id: parse.scm,v 14.53 2004/11/19 06:51:20 cph Exp $
Copyright 1986,1987,1988,1989,1990,1991 Massachusetts Institute of Technology
Copyright 1992,1993,1994,1997,1998,1999 Massachusetts Institute of Technology
((string-ci=? name "true") #t)
((string-ci=? name "optional") lambda-optional-tag)
((string-ci=? name "rest") lambda-rest-tag)
+ ((string-ci=? name "key") lambda-key-tag)
((string-ci=? name "aux") lambda-auxiliary-tag)
((string-ci=? name "eof") (make-eof-object #f))
+ ((string-ci=? name "default") (default-object))
(else (error:illegal-named-constant name)))))
(define lambda-optional-tag (object-new-type (ucode-type constant) 3))
(define lambda-rest-tag (object-new-type (ucode-type constant) 4))
(define lambda-auxiliary-tag '|#!aux|)
+(define lambda-key-tag (object-new-type (ucode-type constant) 5))
\f
(define (handler:unhash port db ctx char1 char2)
db ctx char1 char2
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.512 2004/11/18 18:16:08 cph Exp $
+$Id: runtime.pkg,v 14.513 2004/11/19 06:51:30 cph Exp $
Copyright 1988,1989,1990,1991,1992,1993 Massachusetts Institute of Technology
Copyright 1994,1995,1996,1997,1998,1999 Massachusetts Institute of Technology
char-set/number-leaders
char-set/symbol-quotes
lambda-auxiliary-tag
+ lambda-key-tag
lambda-optional-tag
lambda-rest-tag)
(export (runtime unsyntaxer)
#| -*-Scheme-*-
-$Id: unpars.scm,v 14.57 2004/08/14 04:57:12 cph Exp $
+$Id: unpars.scm,v 14.58 2004/11/19 06:51:39 cph Exp $
Copyright 1986,1987,1990,1991,1992,1995 Massachusetts Institute of Technology
Copyright 1996,2001,2002,2003,2004 Massachusetts Institute of Technology
((eq? object #t) (*unparse-string "#t"))
((undefined-value? object)
(*unparse-string "#[unspecified-return-value]"))
+ ((default-object? object) (*unparse-string "#!default"))
((eq? object lambda-auxiliary-tag) (*unparse-string "#!aux"))
+ ((eq? object lambda-key-tag) (*unparse-string "#!key"))
((eq? object lambda-optional-tag) (*unparse-string "#!optional"))
((eq? object lambda-rest-tag) (*unparse-string "#!rest"))
(else (unparse/default object))))