Number: 275

Date: 23-Mar-84 10':41':12

Submitter: Sannella.PA

Source: Stansbury.pa

Subject: Block compiler should rename globalvars local to a block

Lisp Version: 

Description: '
Date': 22 Mar 84 17':54 PST'
From': Stansbury.pa'
Subject': Lisp': Block compiler should rename globalvars'
To': LispSupport.pa'
cc': Stansbury.pa'
Lisp-System-Date': 14-Mar-84 10':16':58'
Machine-Type': Dolphin'
'
I think that there should be a mechanism of identifying to the block compiler globalvars which are local to a block, and that the block compiler should rename those variables (by prepending \blockname/) to try to avoid name-conflicts with other globalvars.'
'
-- Tayloe.'
'
-----'
'
Date': 23 Mar 84 12':38 PST'
From': Masinter.pa'
Subject': AR#275, Status← Declined'
To': LispSupport'
cc': Stansbury'
'
'
This in general doesn''t work because the initialization of the variables has to be renamed as well. '
'
It is often considered "bad form" to have the state of a process in a global variable, as opposed to, say, a variable which is bound at the entrypoint.'
'
'


Workaround: 

Test Case: 

Edit-By: Sannella.PA

Edit-Date: 26-Mar-84 14':36':05

Attn: 

Assigned To: 

In/By: 

Disposition: 

System: Language Support

Subsystem: Compiler, Code Format

Machine: 

Disk: 

Microcode Version: 

Memory Size: 

File Server: 

Server Software Version: 

Difficulty: 

Frequency: Intermittent

Impact: Annoying

Priority: Perhaps

Status: Declined

Problem Type: Design - UI

Source Files: