Closed as not planned
Description
Context:
- https://twitter.com/rickbutton/status/1219661139367419905
- https://twitter.com/orta/status/1219679733027426306
When I talked with the TC39 folks, a lot of people were interested in being able to make REPLs for proposals, and one just came out: https://rickbutton.github.io/record-tuple-playground/
To pull it off they needed to fork monaco-typescript and:
- edit the default dts files
- edit the language's syntax used by monarch
- Add a custom transformer function which lives in the TS workers
Given that we distribute our own copy of monaco - I wonder if we can expose an API for these by extending our monaco-editor with a patch to add APIs.
Biggest source of unknown for me is that I don't know how we could pass a function to workers, to my knowledge everything is serialized.
/cc @rickbutton