probmods / webppl

Probabilistic programming for the web
http://webppl.org
Other
619 stars 86 forks source link

REPL shell ? #941

Closed vsraptor closed 3 years ago

vsraptor commented 3 years ago

Is there a REPL shell for webppl ?

null-a commented 3 years ago

I'm afraid not. The closest thing is perhaps the web notebook on e.g. https://webppl.org.

vsraptor commented 3 years ago

I'm afraid not. The closest thing is perhaps the web notebook on e.g. https://webppl.org.

what about "node" .. is there a way to shoehorn it somehow

null-a commented 3 years ago

If you wanted to implement this yourself, you might need to think about how WebPPL's somewhat functional nature interacts with a REPL's somewhat imperative nature. The global store might come in here? I've never put any thought into doing this though, so I don't have anything more concrete to suggest I'm afraid.