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
import an LOOP macro #1579
import an LOOP macro #1579
Conversation
Tbh I don’t know how to set up the package declaration so it works with makefile.--LarryMasinter.netOn Mar 14, 2024, at 9:19 AM, Paolo Amoroso ***@***.***> wrote:
On Medley Online, when I load CML-LOOP.DFASL I get this break window with the error Can't find package for DEFINE-FILE-INFO reader environment XLP:
cml-loop-error.png (view on web)
Not sure I'm loading it correctly.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
This and the documentation it references might help setting up the package for use with the File Manager. |
I changed the file name to XCL-LOOP and added it to the loadup. |
Why XCL- instead of CML? Should loop be in its own package or should it be part of cl:/lisp: package if it's part of the language spec (or xcl: if it's "our own" implementation) |
I concur with @nbriggs . If it's part of the standard, then put it into the correct package. Is the point not to redefine the existing |
Interestingly the other words in the extended f op rm are pname only and can be in any or no (I interned at all. Only two symbols are exported: loop and loop-finish. That's why it works without the contortions @MattHeffron predicted. Try it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both |
…rted from LISP. Install copyright/acknowledgement
The author of the |
I changed the package to "LOOP" and made sure "LOOP" and "LOOP-FINISH" were exported from the LISP package. |
i spent the better part of a day on Both WITH-HASH-TABLE-ITERATOR and WITH-PACKAGE-ITERATOR and have decided to put that on ice because I don't want to change Medley's implementation of hash-tables or packages. |
I missed the parts about -TABLE-ITERATOR and WITH-PACKAGE-ITERATOR being used in some LOOP iterators. |
No description provided.