Re: How to use the current directory?

2023-09-29 Thread Jason Miller
> (asdf:load-asd "thepackage.asd") I believe load-asd requires an absolute pathname. Have you tried: (asdf:load-asd (uiop:merge-pathnames* "thepackage.asd" (uiop:getcwd))) That should find "thepackage.asd" in the current working directory. I should note that the call to getcwd is redundant

Re: How to use the current directory?

2023-09-24 Thread Robert Goldman
FWIW, ANSI Common Lisp does not *have* a current directory, only a current value of `*default-pathname-defaults*`. ANSI CL is happy to run on systems that have no notion of a process having a current directory. So that accounts for why Quicklisp and ASDF don't support a notion of current

Re: How to use the current directory?

2023-09-24 Thread Blake McBride
Thank you all very much! It seems to me that changing QuickLisp to default to the current directory first would solve all of the problems. This way one can change to the application directory and all will load correctly without any configuration. Until that change is made, I will use one of

Re: How to use the current directory?

2023-09-24 Thread Wilfredo Velazquez
Right yeah, or you can use clpm and specifically target the versions of the thing you use. Alternatively you can vendor (copy/paste them in your repo). In CL you fo deal with per-platform thing, but generally it is isolated to some OS layer and move on On Sun, Sep 24, 2023 at 7:00 AM Attila

Re: How to use the current directory?

2023-09-24 Thread Attila Lendvai
> I use a vanilla Quicklisp installation. For some local directory > trees I configure ASDF to prefer those trees over the standard > Quicklisp versions by placing text like the following in my > $HOME/.config/common-lisp/source-registry.conf file: > > (:source-registry > (:tree

Re: How to use the current directory?

2023-09-23 Thread Blake McBride
Thanks for the great suggestions, Richard! I'll definitely give it a try! Blake --- Original Message --- On Saturday, September 23rd, 2023 at 3:48 PM, Richard Westhaver wrote: > Hey Blake, > > I am relatively new to Common Lisp and agree that figuring out a decent dev > ecosystem can

Re: How to use the current directory?

2023-09-23 Thread Robert Brown
I use a vanilla Quicklisp installation. For some local directory trees I configure ASDF to prefer those trees over the standard Quicklisp versions by placing text like the following in my $HOME/.config/common-lisp/source-registry.conf file: (:source-registry (:tree

Re: How to use the current directory?

2023-09-23 Thread Wilfredo Velazquez
Hey Blake, for that workflow you describe, I think the closest candidate would be clpm: https://www.clpm.dev/ You can add sources such as quicklisp a url, git repo, etc. and it sets this up locally to your project. Unfortunately, I don't have much experience with it since I found out about it

Re: How to use the current directory?

2023-09-23 Thread Pascal Bourguignon
Le 23/09/2023 à 16:56, Blake McBride a écrit : Thanks for all of the replies!  Although I have been playing with Lisp for many years, I do not have much experience with ASDF or QuickLisp. I appreciate all of the suggestions and explanations, however, with respect, they all seem like

Re: How to use the current directory?

2023-09-23 Thread Blake McBride
Thanks for all of the replies! Although I have been playing with Lisp for many years, I do not have much experience with ASDF or QuickLisp. I appreciate all of the suggestions and explanations, however, with respect, they all seem like work-arounds or hacks for my purposes. I am not suggesting,

Re: How to use the current directory?

2023-09-23 Thread Wilfredo Velazquez
All my local projects live in ~/common-lisp/ Because 1. It's a shorter name and less directories to traverse 2. Works without needing QL 3. QL does indexing on the local-projects dir that you have to remember to refresh On Sat, Sep 23, 2023 at 7:12 AM Attila Lendvai wrote: > > So my advice is:

Re: How to use the current directory?

2023-09-23 Thread Attila Lendvai
> So my advice is: > > (push #P"/path/to/your/local/copy/" ql:*local-project-directories*) > (ql:quickload :your-system) alternatively, you can move or symlink your project into ~/quicklisp/local-projects/ -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “No people will tamely surrender

Re: How to use the current directory?

2023-09-23 Thread Pascal Bourguignon
Le 23/09/2023 à 00:04, Blake McBride a écrit : Greetings all! Asdf noob here.  I have spent hours on what I would think would be incredibly simple.  Help would sure be appreciated. I cloned a repo for a package that is available on quicklisp.  I modified it.  However, everytim I do: *

Re: How to use the current directory?

2023-09-22 Thread Robert Dodier
On Fri, Sep 22, 2023 at 3:05 PM Blake McBride wrote: > How can I force asdf to load and use the package in the local directory > rather than the cached standard distribution? My understanding is that the following is poor form (I seem to recall ASDF:*CENTRAL-REGISTRY* is deprecated), however,

How to use the current directory?

2023-09-22 Thread Blake McBride
Greetings all! Asdf noob here. I have spent hours on what I would think would be incredibly simple. Help would sure be appreciated. I cloned a repo for a package that is available on quicklisp. I modified it. However, everytim I do: (asdf:load-asd "thepackage.asd") (asdf:load-system