google / google/codeworld

Evaluate funblocks on the client?!?

Aperta
#194 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
discussion funblocks
Lingua principale
Haskell
Stelle
1.3k
Fork
201
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

This is pretty far outside the current project plan, but I wanted to get it written down.

Instead of relying on GHCJS on the server, it's possible that the block UI could evaluate code on the client. In particular, suppose funblocks-client linked with codeworld-api, and associated each block to not just codegen, but also to an interpreted implementation.

This would have lots of implications. For example, when drawing pictures, you could see the picture change immediately as you edit the blocks. You could add debugging by just choosing a block and asking to see a type-aware visualization rendered in a popup window.

This isn't mutually exclusive with generating code to compile on the server.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.