scsh-hackers
[Top] [All Lists]

[Scsh-hackers] [ scsh-Bugs-408126 ] "-i" is number not symbol

To: noreply@sourceforge.net
Subject: [Scsh-hackers] [ scsh-Bugs-408126 ] "-i" is number not symbol
From: noreply@sourceforge.net
Date: Tue, 20 Mar 2001 15:40:29 -0800
List-id: Discussion among the implementors <scsh-hackers.lists.sourceforge.net>
Sender: scsh-hackers-admin@lists.sourceforge.net
Bugs item #408126, was updated on 2001-03-12 19:44
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=408126&group_id=10493

Category: scheme-48
Group: None
>Status: Closed
>Priority: 2
Submitted By: Brian D. Carlstrom (bdc)
Assigned to: Olin Shivers (olin-shivers)
>Summary: "-i" is number not symbol

Initial Comment:
C:\>scsh
Scsh 0.5.3
> (run (ls -i))

Error: Can only stringify strings, symbols, and 
integers.
       0-1i
256
>

----------------------------------------------------------------------

>Comment By: Olin Shivers (olin-shivers)
Date: 2001-03-20 15:40

Message:
Logged In: YES 
user_id=101304

True, this sux. But it's R5RS. I don't feel it's worth it to
introduce
even more lexical breakage than we already have with
case-sensitive
symbol reading. So I'm bagging this.

What would be nice would be to allow the programmer/user to
specify
different text->sexp syntaxes, via a clause in the module
language
affecting how files in the (files ...) clauses were parsed.
Then we could
allow people to do it either way.
    -Olin

----------------------------------------------------------------------

Comment By: Brian D. Carlstrom (bdc)
Date: 2001-03-12 19:44

Message:
Logged In: YES 
user_id=27364

From: Steven Jenkins <sjenkins@ms.com>
To: "Brian D. Carlstrom" <bdc@ai.mit.edu>
Cc: Leif Nixon <nixon@softlab.se>, scsh-
news@martigny.ai.mit.edu
Subject: Re: Bug? Whats wrong with the symbol -i?
Date: Fri, 25 Apr 1997 18:40:17 -0400


This, of course, is because you have innums turned on..

>Leif Nixon writes:
> > I seem to have stumbled across another bug.
>
>We get this behavior from scheme48. the reader thinks -i 
is an imaginary
>number.
>
>Scsh 0.5
>> '-1
>-1
>> '-i
>0-1i
>> (string->symbol "-i")
>'-i
>>

Steven L. Jenkins



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=408126&group_id=10493


<Prev in Thread] Current Thread [Next in Thread>