ranfdev
ranfdev
I've successfully implemented the REPL for the gjs runtime. The code may help you get the REPL working on deno: https://github.com/ranfdev/shadow-cljs-gjs-target
Thank you for the thorough explanation, I needed it. I understand having lazy evaluation is a major objective of nickel, but in this case, I think both the solutions you...
> it depends on case by case whether you want to chain up at first or at the end. Yeah, the user should be able to choose when to chain...
Let's say I have a struct with two fields: ```rust #[derive(Properties) struct MyClass { mystring: RefCell, myobject: RefCell, } ``` and given the related traits: ```rust impl HasParamSpec for String...
> How would that handle interior mutability? Whoops, that line should have said ```rust label: RefCell, ``` And that works as it does on the current #494 PR
> how would the implementation access the field values? Using the classic `self.imp()`, as it is now.
> How would the macro figure out all the parent classes of gtk::Button? It's manual, the user has to specify every parent, as it is now when implementing `ObjectSubclass`
And yes, I've looked at the work done in https://gitlab.gnome.org/federico/gnome-class. It's a nice work and a great resource.
> Can't you generate those methods as part of a Ext trait and auto implement it for Self::Type ? Yes, we talked about this in the Props PR. I just...
Since this is a big API change, what do you think about merging the changes (when ready) behind a cargo feature flag? We won't get everything right the first time......