[parenscript-devel] problem with identifier letter case

Canhua dreameration at gmail.com
Sun Mar 18 12:49:46 UTC 2012


hi, as shown below, function name with upper case letter is compiled
into lower case name outside parenscript package,
while in parenscript package, the name's case is preserved.

Why?

cl-user> (in-package  :cl-user)

#<package "COMMON-LISP-USER">

cl-user> (ps:ps (defun A ()))

"function a() {       ;; upper case compiled into lower case
    return null;
};"

cl-user> (in-package :ps)

#<PACKAGE "PARENSCRIPT">

PS> (ps:ps (defun A ()))

"function A() {        ;; upper case is preserved
    return null;
};"




More information about the parenscript-devel mailing list