bugMIT/GNU Scheme - Bugs: bug #62605, Identifiers should be...

 
 

bug #62605: Identifiers should be case-sensitive by default

Submitter:  None
Submitted:  Thu 09 Jun 2022 02:20:24 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect behavior
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Originator Email:  -email is unavailable- Open/Closed:  Open
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 11 Jun 2022 02:44:54 AM UTC, comment #2: 

comment #1:

> If the REPL is what you are complaining about, please open a new bug saying in more detail what you mean (or edit this bug to reflect that).


Yes, the problem is in the REPL.

Anonymous
Thu 09 Jun 2022 05:20:51 AM UTC, comment #1: 

This is not quite correct.

If you write R7RS libraries or programs, they are case sensitive by default. By definition, R7RS libraries contain define-library forms and R7RS programs start with one or more imports. If neither of those is found, the loader assumes that the file is an MIT/GNU scheme program and loads it as it always did.

If you're talking about the REPL, it has not been changed to be compatible with R7RS. It also doesn't process import and define-library forms.  We'll probably add an R7RS mode for it at some point, but for now you'll need to work around it.

If the REPL is what you are complaining about, please open a new bug saying in more detail what you mean (or edit this bug to reflect that).

Chris Hanson <cph>
Group administrator
Thu 09 Jun 2022 02:20:24 AM UTC, original submission:  

In MIT Scheme 11.2, (eq? 'a 'A) returns #t. This is incorrect, since R7RS-small says that identifiers should be case-sensitive by default. (eq? 'a 'A) should return #f (unless the user specifies #!fold-case).

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cph (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code