Number: 2004

Date: 28-Aug-84 14':06':01

Submitter: Sannella.PA

Source: Sannella.PA

Subject: Improve documentation of DECLARE': filepkgcom

Assigned To: 

Attn: Kaplan

Status: Open

In/By: 

Problem Type: Documentation

Impact: Annoying

Difficulty: 

Frequency: 

Priority: Perhaps

System: Programming Environment

Subsystem: File Package

Machine: 1132

Disk: 

Lisp Version: 27-Aug-84 21':14':00

Source Files: 

Microcode Version: 5124

Memory Size: 4096

File Server: 

Server Software Version: 

Disposition: 

Description: '
Date': 17 Aug 84 02':38 PDT'
From': Shrager.pa'
Subject': Lisp': DECLARE': totally opaque'
To': LispSupport.pa'
'
The explanation, syntax, and semantics of the filepackage DECLARE': function are totally opaque.  I want to load a file, that has macros in it that are to be used during a compilation.  How do I do this?'
'
(DECLARE': EVAL@COMPILE (FILES ...))'
'
didn''t do anything as far as I can tell.  It certainly didn''t cause the compiler to load the desired files.'
'
Can there be multiple declare statements?'
'
I presume that the compiler runs from the top of a file to the end.  If this is so, then how can it predefine compiler macros?!  In fact, in order to make my macros work right, I had to explicitly move the (MACROS ...) filepkg command before the rest of my fns.  If the whole file read and THEN compiled?!  If so, you should make this explicit someplace.'


Workaround: 

Test Case: 

Edit-By: 

Edit-Date: