> From: Christian Lynbech <[EMAIL PROTECTED]>
> Date: Mon, 22 Jul 2002 13:23:34 +0200
> X-listar-version: Listar v1.0.0
> Sender: [EMAIL PROTECTED]
> X-original-sender: [EMAIL PROTECTED]
> X-list: cmucl-help
> 
> 
> 
> How would one go about using mixed case symbols ala Allegro?
> 

Allegro lower case modes are (a) non conformant and (b) they break
ANSI CL programs.  Morale: don't use it.

> Just setting 
> 
>         (setf (readtable-case *readtable*) :preserve)
> 
> means that one has to upcase everything, including debugger commands
> and standard names as in
> 
>         (SETF (READTABLE-CASE *READTABLE*) :UPCASE)
> 
> which is pretty intolerable.
> 
> We have a sizeable application that started life in a case sensitive
> scheme and now runs in ACL using mixed case mode

Big, big, huge mistake.


>, but we would want to
> be able run at least parts of it from CMUCL as well, in which case we
> will need a solution for the casing.

The best that you can do is to set READTABLE-CASE to :INVERT and
(possibly) *PRINT-CASE* to :DOWNCASE.  This should take care of most
nastiness.  Note that the *PRINT-CASE* may be a necessary for the
scheme to work in your case.

Of course, the above setting should work also in ACL ANSI images.
This would allow you to get rid of the Allegro case sensitive images.

If you want a better solution, you can implement in CMUCL my proposal
for case sensitiveness in CL :)

Cheers

-- 
Marco Antoniotti ========================================================
NYU Courant Bioinformatics Group        tel. +1 - 212 - 998 3488
719 Broadway 12th Floor                 fax  +1 - 212 - 995 4122
New York, NY 10003, USA                 http://bioinformatics.cat.nyu.edu
                    "Hello New York! We'll do what we can!"
                           Bill Murray in `Ghostbusters'.

Reply via email to