workbenchdev / Workbench

Code playground for GNOME 🛠️
https://apps.gnome.org/Workbench
GNU General Public License v3.0
689 stars 90 forks source link

Move previewer to introspectable library #153

Open sonnyp opened 1 year ago

sonnyp commented 1 year ago

Right now we have 2 previewers:

one in JavaScript called Previewer/Internal.js for "inline preview" (preview directly in the Workbench window)

one in Vala called Previewer/External.js for "out of process" preview (preview in a separate process)

The idea here would be to rewrite the previewer as an introspectable library that can be used in different context such as workbench inline preview, windowed preview and out-of-process.

vixalien commented 5 months ago

Wouldn't an "introspectable library" need to be written in something other than JavaScript. Maybe Vala?

sonnyp commented 5 months ago

Correct, most likely in C.