<br><br><div class="gmail_quote">On Tue, Oct 5, 2010 at 6:44 PM, Igor Stasenko <span dir="ltr"><<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On 6 October 2010 04:25, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
><br>
><br>
> You could do it with the generation expression. Either have two copies, one of which excludes it (e.g.)<br>
> VMMaker<br>
> generate: CoInterpreter<br>
> to: (FileDirectory default / '../src') fullName<br>
> platformDir: (FileDirectory default / '../platforms') fullName<br>
> excluding:#(BrokenPlugin SlangTestPlugin TestOSAPlugin<br>
> FFIPlugin ReentrantARMFFIPlugin ReentrantFFIPlugin ReentrantPPCBEFFIPlugin<br>
> NativeBoostPlugin NewsqueakIA32ABIPlugin NewsqueakIA32ABIPluginAttic)<br>
> or choose the interpreter via a menu and put some logic to test for it being NBCoInterpreter.<br>
<br>
</div>Yes, i did exactly as you describing.<br>
I just wondered if there are some way to automate that, like:<br>
<br>
SomePlugin>>fitsForInterpreter: interpreterClass ...<br>
<br>
And about generated .ext/.int example files, is it normal that some<br>
plugins included multiple times:<br>
<br>
>> SqueakFFIPrims \<br>
>> SqueakFFIPrims \<br>
>> SqueakFFIPrims \<br>
>> SqueakFFIPrims \<br>
<br>
?<br>
As to me it looks like a bad example to follow :)<br></blockquote><div><br></div><div>That's simply the various forms of the FFI naming themselves the same thing. These are </div><div><br></div><div>ReentrantFFIPlugin (abstract)</div>
ReentrantARMFFIPlugin<div>ReentrantIA32FFIPlugin</div>ReentrantPPCFFIPlugin</div><div class="gmail_quote"><br></div><div class="gmail_quote">One's going to generate one of the concrete classes, and the above is an example file, so the above can be ignored.</div>
<div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888">
--<br>
</font><div><div></div><div class="h5">Best regards,<br>
Igor Stasenko AKA sig.<br>
</div></div></blockquote></div><br>