Re: Define a Simple Echo-Op

2022-05-05 Thread zacque
ncurrency. I believe POIU compiles each component in a separate process, > then loads them sequentially. I see, that's good to know. At least it's an implementation limitation and not a design limitation I guess. -- Regards, zacque

Re: Define a Simple Echo-Op

2022-04-27 Thread zacque
op8 can be done. Same goes for op9, it has to wait for (op2, op3, op4) + op8. 2. Now, with ECHO-OP done, I want to define a new operation PRINT-OP that prints out the content of the file after ECHO-OP is done. I can define PRINT-OP as subclass of ASDF:SELFWARD-OPERATION. But how can I express the operation dependencies such that ASDF knows PRINT-OP depends on ECHO-OP? I've look into ASDF:LOAD-OP but I can't see where such a dependency is expressed explicitly? Is the operation dependency defined somewhere implicitly? -- Regards, zacque

Re: Define a Simple Echo-Op

2022-04-27 Thread zacque
s for all three > of ECHO-OP, COMPILE-OP and LOAD-OP. > > I recommend you load this version, try (ASDF:OPERATE 'ECHO-OP:ECHO-OP > (ASDF:FIND-SYSTEM "echo-op-test") :FORCE T) and > see what output you get. Thanks! It's indeed very enlightening. And I've separated it out into few parts to play with, as shown in the code snippet I pasted above. One question: How do you know whether to define PERFORM primary method or an :AROUND method for the custom operation class? It's not obvious to me which one to choose for different use cases. Thanks! -- Regards, zacque

Define a Simple Echo-Op

2022-04-26 Thread zacque
y of #1=(# . #) on: (#1#) [Condition of type ASDF/ACTION:CIRCULAR-DEPENDENCY] - which I have no idea what is going on. I'm still learning about ASDF, so any help to achieve what I want to do would be very much appreciated. Thanks! -- Regards, zacque