hpi-swa / sandblocks

A projectional editor for Squeak/Smalltalk.
MIT License
35 stars 3 forks source link

Improvements for `SBStLivePreview` #65

Open LinqLover opened 2 years ago

LinqLover commented 2 years ago

There is a lot of potential in this plugin, and maybe the SimulationStudio integration could be optimized and re-enabled.

Internal brainstorming thread: https://hpi-swa-teaching.slack.com/archives/D01CU407X3J/p1641322503014600

tom95 commented 2 years ago

Could be a good idea to let ExecutionEnvironments inform us whether or not their code can be run without a sandbox

LinqLover commented 2 years ago
tom95 commented 2 years ago

SBStBasicMethod already contains a typeCache that could be upgraded and unified for this purpose

tom95 commented 2 years ago

update: I just added that once a live preview is computed, the type is also reported to its method: https://github.com/tom95/sandblocks/commit/c406212d4ff233f0d235de9235b643eba24f314d