gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] reading symbols and numbers from a file


From: Camm Maguire
Subject: Re: [Gcl-devel] reading symbols and numbers from a file
Date: 03 Jun 2005 12:03:17 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!

Robert Dodier <address@hidden> writes:

> Hello,
> 
> I am hoping to find a way to read symbols, numbers, and
> maybe strings from a data file of the form
> 
>   1728 Foo 3.1459 FOO
>   bar  128 9.7 96321
> 
> and so on. The function read folds all symbols into uppercase --
> Foo and foo yield FOO. I would like to find a way to get read
> to invert case.
> 
> In Clisp and CMUCL I can get the desired behavior via
> readtable-case. However the code which works for those two,
> namely (setf (readtable-case local-table) :invert),
> fails with "Cannot expand the SETF form (READTABLE-CASE
> LOCAL-TABLE)" in GCL.
> 
> I am aware that there has been some work on readtable-case
> in GCL recently. Be that as it may, I need something that 
> works for previous revisions (let's say anything in the past
> 2 years) as well.
> 

Do you mean you need a readtable-case for the 2.6.x series?

Take care,


> The larger goal here is to write a function which loads
> a data file organized into rows and columns. If someone has
> already written such a function for GCL, I would be 
> interested to hear about it.
> 
> Thanks for any light you can shed on this problem.
> 
> Robert Dodier
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gcl-devel
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]