[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [epsilon-dev] Changes required for Pinset (based in Epsilon 1.5) to work with Epsilon Interim version
|
Hello Sina,
Good points! I just included your fixes.
Thanks,
Alfonso
22 Mar 2020, 13:38 by sinadoom@xxxxxxxxxxxxxx:
Hi Alfonso,
Thanks for making these notes – it goes us a good idea of the extent of compatibility and what to look out for in the future. I also noticed that since PinsetModule extends ErlModule, in the interim version you can just override the new “processRules” method rather than executeImpl, like so:
@Override
protected Object processRules() throws EolRuntimeException {
for (DatasetRule datasetRule : declaredDatasetRules) {
datasetRule.execute(context);
}
return null;
}
Also I noticed there is a setContext / getContext, which can also be omitted (it would be a compilation error currently, since getContext returns IErlContext for ErlModule).
Thanks,
Sina
Sent: 22 March 2020 13:25
Subject: [epsilon-dev] Changes required for Pinset (based in Epsilon 1.5) to work with Epsilon Interim version
Hello,
As I was considering trying some things with Pinset and Picto, I had to update my pinset sources to be compatible with the Interim version of Epsilon.
If the Epsilon 2.0 launch is coming, maybe this could be useful for people with plugins based in 1.5 (as Pinset was) wanting to update to the new version.
Attached you can find a list of notes I took (small changes list, I think I didn't forget anything) and a diff of the concrete executed changes. I also needed to regenerate the parser classes, but I left that out of the diff to avoid polluting it with autogenerated parser rules.
Alfonso