Re: Method combination and ASDF

2024-04-25 Thread Faré
On Thu, Apr 25, 2024 at 9:11 PM Faré wrote: > > Funny, but ASDF 1 at some point (commit aa52ad22 1.128 to 1.636) up was > defining its own method combination, so users could write their own methods > without overwriting ASDF's (but still overwriting each other's). > > In practice it was only

Re: Method combination and ASDF

2024-04-25 Thread Faré
Funny, but ASDF 1 at some point (commit aa52ad22 1.128 to 1.636) up was defining its own method combination, so users could write their own methods without overwriting ASDF's (but still overwriting each other's). In practice it was only used for two :around methods for perform, with one being

Re: Method combination and ASDF

2024-04-25 Thread Robert Goldman
On 24 Apr 2024, at 3:39, Didier Verna wrote: > François-René ÐVB Rideau écrivait: > >> What are the methods defined by asdf-flv? > > In order to support file local variables, ASDF-FLV does this: > > (defmethod asdf:perform :around > ((operation asdf:load-op) (file asdf:cl-source-file)) >

Re: Method combination and ASDF

2024-04-24 Thread Faré
1. I once implemented a more general mechanism for binding syntax variables around compilation, which must be part of the syntax-control branch (that probably needs a lot of love rebasing it on top of the latest ASDF). Syntax variables include *readtable*, *read-base*, *read-default-float-format*,

Re: Method combination and ASDF

2024-04-24 Thread Didier Verna
François-René ÐVB Rideau écrivait: > What are the methods defined by asdf-flv? In order to support file local variables, ASDF-FLV does this: (defmethod asdf:perform :around ((operation asdf:load-op) (file asdf:cl-source-file)) "Establish new dynamic bindings for file-local variables."

Re: Method combination and ASDF

2024-04-24 Thread Didier Verna
François-René ÐVB Rideau écrivait: > What are the methods defined by asdf-flv? In order to support file local variables, ASDF-FLV does this: (defmethod asdf:perform :around ((operation asdf:load-op) (file asdf:cl-source-file)) "Establish new dynamic bindings for file-local variables."

Re: Method combination and ASDF

2024-04-23 Thread Faré
What are the methods defined by asdf-flv? IIRC, POIU also has a few :around methods (it also doesn't properly support ASDF 3.3 phases). -#f On Tue, Apr 23, 2024, 17:24 Robert Goldman wrote: > An issue that came up discussing ASDF-FLV with Didier has to do with > outside modification to

Method combination and ASDF

2024-04-23 Thread Robert Goldman
An issue that came up discussing ASDF-FLV with Didier has to do with outside modification to exported ASDF generic functions. I think it's unambiguously reasonable to say "if you mess with unexported functions, generic or otherwise, you're on your own, and could break things arbitrarily."