breck7 / scrollsdk

Build on top of Scroll.
https://sdk.scroll.pub
380 stars 17 forks source link

Parsers: Add Mixins #107

Closed breck7 closed 1 month ago

breck7 commented 4 years ago

Potentially a new node type: trait/interface to allow for multiple inheritance like abilities (css style).

breck7 commented 3 years ago

not obviously a bad idea but more important things to do first.

breck7 commented 2 years ago

Right now I'm often using inheritance for 2 unrelated things:

1) copying properties from a prototype/abstract class 2) bundling things into a scope (all inherit from a class, and then the parent scope class just needs to have 1 nodeType in scope)

I probably want to be able to create another way to put more node types in scope without the inheritance part. Some sort of tag.

breck7 commented 1 month ago

Would be neat but medium pri