asg017 / unofficial-observablehq-compiler

An unofficial compiler for Observable notebook syntax
https://www.npmjs.com/package/@alex.garcia/unofficial-observablehq-compiler
112 stars 23 forks source link

Allow imported cells to be observable #33

Open asg017 opened 3 years ago

asg017 commented 3 years ago

Re-hash of https://github.com/observablehq/runtime/issues/245 . Should be straightforward, just need to change out main.import(...) into main.variable(observer(name)).import(....) in the Compiler/Interpreter. not 100% sure if it'll be name or alias though, will need to test that out.