probcomp / GenExperimental.jl

Featherweight embedded probabilistic programming language and compositional inference programming library
MIT License
17 stars 2 forks source link

Bidirectional communication with renderer #14

Open marcoct opened 7 years ago

marcoct commented 7 years ago

This shouldn't be too hard to add in e.g. Jupyter using the same communication channel currently used for rendering in Jupyter.

marcoct commented 7 years ago

The UI component should be able to manipulate the values in the trace. The UI component will need to be implemented in terms of the Trace interface. The UI component will be permitted to mutate the trace, unlike renderers as they currently exist in the notebooks.