google / google/codeworld

Evaluate funblocks on the client?!?

Open
#194 0 comments 0 reactions 0 assignees View on GitHub
discussion funblocks
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.