-
Notifications
You must be signed in to change notification settings - Fork 73
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
rename FOO.BAR packages to FOO/BAR #831
Conversation
tests won't pass (edit: here on github) because qvm won't be able to load |
6a5b0ca
to
38b4e54
Compare
|
||
(defpackage #:cl-quil | ||
(:nicknames #:quil) |
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.
@@ -1353,7 +1336,7 @@ | |||
;;; access "internal" symbols. Having such symbols cataloged here is | |||
;;; preferable to simply accessing any symbol whatsoever via full | |||
;;; qualification, ala the use of package name "quil" with double |
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.
;;; qualification, ala the use of package name "quil" with double | |
;;; qualification, ala the use of package name "cl-quil" with double |
boom. gottem.
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.
also à la
smh
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.
M-x ala-mode
@@ -2,7 +2,7 @@ | |||
;;;; | |||
;;;; Author: A.J. Nyquist | |||
|
|||
(defpackage #:cl-quil.chip-library | |||
(defpackage #:cl-quil/chip-library | |||
(:use #:cl) | |||
(:local-nicknames (:q :cl-quil) |
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.
:q
-> :quil
imho
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.
Agree w the great Appleby
3509dcd
38b4e54
to
3509dcd
Compare
3509dcd
to
b4462b1
Compare
b4462b1
to
d8e5f1d
Compare
I'm not convinced this PR is a good idea anymore.
|
This is a heavy renaming of all of our
foo.bar
package names tofoo/bar
.The reason is that in old CMUCL and in Allegro CL, the
foo.bar
notation is for hierarchical packages, a non-standard Lisp feature that gives you nested namespaces. Moreover, the discrepancy between systems using/
and packages using.
had no good explanation.This also removes all
rename-package
and conditionals on package-local-nicknames. We just assume you have it now.This cleans up some existing nicknames due to issues/conflicts in the packages.lisp file
I'm a little worried I didn't replace everything in various scripts, dockerfiles, etc.
See also (required): quil-lang/qvm#294