Repository navigation
feat(dncl): treat the say and ask blocks as unsupported in the japanese tab (#2623) - #2631
Merged
smalruby3-editor-bot[bot] merged 6 commits intoNov 29, 2026
Merged
Conversation
…se tab 表示する and 【外部からの入力】 now mean only the console. The say block (say/puts/print/p) and ask and wait with answer of the stage are told as unsupported commands with a message that names the console block, and the blocks are not changed. The Japanese mode palette hides the looks and sensing categories. Closes #2623 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
🤖 autopilot status
Linked issue #2623. Maintained by autopilot (single writer); do not edit. |
|
🚀 Preview deployed (stg API): https://preview.smalruby.app/topic-autopilot-2623-fe69cbff/ |
…opic/autopilot-2623
The say and ask blocks are no longer passed through in the Japanese tab (#2623). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
🤖 敵対的レビュー(round 1): 指摘 3 件(Must 0 / Question 0 / FYI 3) FYI
直してほしい指摘は、モニターの「AI に直してもらう」で指示を書くか、Request changes で ID を指定してから |
This was referenced Nov 29, 2026
…opic/autopilot-2623
say is now a block the Japanese tab cannot write (#2623), so the valid program used console.puts instead, and the when_flag_clicked test keeps checking only when_flag_clicked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
🤖 Must の自動の直し: 指摘 1 件: 対応 1 件 / 返信 0 件 / 対応不要 0 件
|
…spec The Japanese mode palette no longer has the looks and sensing categories (#2623). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
🤖 敵対的レビュー(round 2): 指摘 2 件(Must 0 / Question 0 / FYI 2) FYI
直してほしい指摘は、モニターの「AI に直してもらう」で指示を書くか、Request changes で ID を指定してから |
smalruby3-editor-bot
Bot
merged commit Nov 29, 2026
47258f7
into
topic/japanese-mode-1731
11 checks passed
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
日本語タブで
表示する/【外部からの入力】が、ステージのブロック(「言う」「聞いて待つ」「答え」)とコンソールのブロックの 2 つの意味を持っていたのをやめ、コンソールだけの意味にする。人間が作ったブロックのプログラムは変えない。変えたこと
ja-notation-table.js:SMALRUBY_RUBY_TO_JAからsay/puts/print/p(受け手なし)とask("")+answerの対応を外した。console.putsとconsole.getsだけが表示すると入力になる。dncl-validator.js/ruby-tab.jsx: これらは「日本語にできない命令」として扱う。日本語タブを開くとルビータブに移り、その行に直し方を出す。dncl-keywords.js:say/puts/print/ask/answer/ask_and_waitを素通しの一覧から外した。dncl-block-filter.js: 日本語モードのパレットから 見た目 と 調べる のカテゴリを外した(人間の答え q2=b)。genai-dncl-prompt.js: 生成AI に相談の質問文で、見た目・調べるの命令は使えず、表示は表示する、入力は【外部からの入力】と書くように伝える。gui.rubyTab.dnclSayBlockError/gui.rubyTab.dnclAskBlockErrorを en / ja / ja-Hira に足した。docs/dncl/README.md・design.md・docs/smalruby-dncl-spec.ja.md)の対応表と「不可逆な変換とその理由」を直した。人間の答え(モニター)
テスト
corpus.test.js/read-ruby-write-ja.test.js)・genai-dncl-prompt.test.js・dncl-green-flag.test.jsなどを--runInBandでファイルを指定して流し、すべて通った(2,557 件)。bin/lint-changed: prettier は通る。eslint はruby-tab.jsx3 行目(今回変えていない)の@smalruby/ja-notationの解決だけが軽量の作業場で落ちる。CI で確かめる。Closes #2623
🤖 Generated with Claude Code