emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What does use-package do?


From: John Wiegley
Subject: Re: What does use-package do?
Date: Tue, 11 Oct 2022 08:21:55 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)

>>>>> Philip Kaludercic <philipk@posteo.net> writes:

> I am not sure if there is any interest, but my `setup' package[0] might be
> such a candidate, when combined with a "declarative to imperative"
> translation layer. I was playing with such a concept a few months ago[1],
> but never completed it. This specific implementation might be too
> "cl-generic"-heavy. But in principle it works:

This is a very nice idea, I didn't consider having a "canonical intermediate
form". Perhaps because the user would mostly never see it, and the final
result is very much the same. By separating out the processing of declarative
keywords into individual helper functions, I was hoping to make the processing
of each "bit" simple enough so that just macro-expansion would be the only
tool needed to debug when the expanded behavior is unexpected. I still like
the idea very much, though; it speaks to my compiler-writer heart. :)

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]