google / google/codeworld

Evaluate funblocks on the client?!?

オープン
#194 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
discussion funblocks
主要言語
Haskell
スター
1.3k
フォーク
201
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず funblocks-client と codeworld-api の関係を確認し、既存の GHCJS のサーバーサイド評価アプローチと比較します。実装の前に、クライアント側の評価範囲と、それがサーバーサイドのコード生成とどのように共存するかを定義してください。完了条件は issue に指定されていません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
haskell
領域
frontend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。