starlight icon indicating copy to clipboard operation
starlight copied to clipboard

Better public API

Open playXE opened this issue 3 years ago • 1 comments

Right now Starlight has quite terrible public API. Some work is needed to make it more user-friendly. I'll work on this next week.

playXE avatar Jun 16 '21 18:06 playXE

FYI, i'm working on a generic set of traits for JavaScript engines here

I want to see if i can create an API with which you can use different JS engines with exactly the same code, this way you can switch between quickjs/starlight/others in case you realy need a different engine. i'm hoping this will help to let people try out experimental engines while having a fallback option without having to change code (and using your terrible API ;) ).

The starlight impl is here (very much WIP!) and i'm also working on a quickjs version..

andrieshiemstra avatar Jun 18 '21 10:06 andrieshiemstra