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

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-a7ba.
    Corresponding source code