Skip to content

LOADCOMP turns off subsequent (FILES (SOURCE) ... #901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
masinter opened this issue Aug 19, 2022 · 1 comment
Open

LOADCOMP turns off subsequent (FILES (SOURCE) ... #901

masinter opened this issue Aug 19, 2022 · 1 comment

Comments

@masinter
Copy link
Member

I still believe it is unexpected/wrong behavior that if you (FILESLOAD (LOADCOMP) X) and then do (FILESLOAD (SOURCE) X) that it does NOT load the complete source because (some part of it) is already loaded.

Originally posted by @nbriggs in #733 (comment)

@nbriggs
Copy link
Contributor

nbriggs commented Aug 20, 2022

So (FILESLOAD (LOADCOMP) ...) says "Load the file with LOADCOMP? rather than LOAD. Automatically implies SOURCE". LOADCOMP? says similar to LOADCOMP but doesn't load it if it has already been LOADCOMPed. LOADCOMP says "Performs all operations on FILE associated with compilation, i.e., evaluates all expressions under a DECLARE: EVAL@COMPILE, ... Thus if building a system composed of many files with compilation information scattered among them, all that is required to compile one file is to LOADCOMP the others"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants