INGInious / INGInious/problems-blockly

Only Python code generation is possible

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

説明

Right now, it's only possible to get and show the python translation of the blocks.
This is hardcoded here : https://github.com/UCL-INGI/INGInious-problems-blockly/blob/2e52641c8ca8a95c1c93d704308645dc18aeeb8b/inginious-problems-blockly/static/blockly/blockly.js#L224

There should be an option in the task editor that allows to change that. For example, if one wants to get back the javascript equivalent.

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start at static/blockly/blockly.js around line 224, where Python translation is hardcoded, and trace how the task editor supplies configuration. Add an editor option for the available code-generation language, including JavaScript, and verify that the selected translation is returned and shown instead of always using Python.

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

評価

技術スタック
javascript
領域
frontend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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