Refactor load-asd to perform a define-op
Split asdf/system-registry away from asdf/find-system: the former defines the internal *defined-systems* table and the search mechanism, whereas the latter keeps the find-system methods, but also defines a new define-op operation, on load-asd will call operate. Reorder dependencies accordingly. Have forcing come from the plan, so as to not force again actions from dependencies that were already performed in a subcall to operate. Accept asdf.asd from the same version, so asdf.asd doesn't get removed at the very next call to operate (which may now come implicitly at the least provocation).
Showing
- Makefile 1 addition, 1 deletionMakefile
- asdf.asd 6 additions, 5 deletionsasdf.asd
- find-component.lisp 7 additions, 3 deletionsfind-component.lisp
- find-system.lisp 94 additions, 401 deletionsfind-system.lisp
- footer.lisp 1 addition, 1 deletionfooter.lisp
- interface.lisp 1 addition, 1 deletioninterface.lisp
- lisp-action.lisp 1 addition, 2 deletionslisp-action.lisp
- make-asdf.bat 1 addition, 1 deletionmake-asdf.bat
- make-asdf.sh 1 addition, 1 deletionmake-asdf.sh
- operate.lisp 4 additions, 6 deletionsoperate.lisp
- package-inferred-system.lisp 1 addition, 1 deletionpackage-inferred-system.lisp
- parse-defsystem.lisp 2 additions, 2 deletionsparse-defsystem.lisp
- plan.lisp 9 additions, 22 deletionsplan.lisp
- source-registry.lisp 1 addition, 1 deletionsource-registry.lisp
- system-registry.lisp 318 additions, 0 deletionssystem-registry.lisp
- system.lisp 30 additions, 2 deletionssystem.lisp
- test/file3-only.asd 3 additions, 0 deletionstest/file3-only.asd
- test/file4.lisp 2 additions, 0 deletionstest/file4.lisp
- test/test-asdf.asd 6 additions, 2 deletionstest/test-asdf.asd
- test/test-cache.script 6 additions, 28 deletionstest/test-cache.script
Loading
Please register or sign in to comment