Blockly

Blocklyは、Googleが開発するブロックベースのビジュアルプログラミング言語と、エディターを提供するオープンソースの…

Blockly
Blockly
作者 Neil Fraser, Quynh Neutron, Ellen Spertus英語版, Mark Friedman
開発元 Google, MIT
初版 2012年5月 (14年前) (2012-05)
最新版
Q1 2022 Patch 3 / 2022年6月8日 (4年前) (2022-06-08)[1]
リポジトリ github.com/google/blockly
プログラミング
言語
JavaScript
対応OS Android, iOSWindows
プラットフォーム Webブラウザ
サイズ 150 キロバイト
対応言語 50言語
対応言語一覧
英語
種別 ライブラリ
ライセンス Apache License 2.0
公式サイト developers.google.com/blockly
テンプレートを表示

Blocklyは、Googleが開発するブロックベースのビジュアルプログラミング言語と、エディターを提供するオープンソースクライアントJavaScriptライブラリである[2]

Blocklyでは、ビジュアルブロックを使用してJavaScript、LuaDartPythonPHPのコードを簡単に生成することができる。

Blocklyは、Apache License 2.0で提供されている。[3]

歴史

2011年の夏にBlocklyの開発が始まった。App Inventor内のOpenBlocksの代替になるものとして[4]Neil Fraserが、Quynh Neutron、Ellen Spertus英語版、Mark Friedmanと共に開発を行った。

2012年5月にはMaker Faire英語版ではじめて一般公開が行われた。

Blocklyのグラフィカルユーザインタフェース(GUI)は、デフォルトでは以下から構成されている[5]

  • ツールボックス(利用できるブロックが表示され、そこから選択できる)
  • ワークスペース(ブロックをドラッグ・アンド・ドロップして、並べることができる)
  • ズームアイコン
  • ゴミ箱(ブロックを削除できる)

このエディターは、カスタマイズして使用可能な機能やブロックを制限するために、簡単に変更できるようになっている。

カスタマイズ

Blocklyには、一般的な操作をするためのブロックのセットが用意されており、ブロックを追加してカスタマイズすることができる。

新しいブロックは定義とジェネレータを必要とする。定義で、ブロックの動作(ユーザーインタフェース)を説明し、ジェネレータは、コードを実行可能にするために、コードを翻訳している。

定義とジェネレータは、JavaScript、またはブロックファクトリーを使用して、既存のブロックから作成することができる。後者の方が、より簡単にブロックを作成することができる。

ソフトウェア

Blocklyは以下のようなソフトウェアに使用されている。

特徴

脚注

  1. ^ Release Q1 2022 Patch 3 · google/Blockly”. GitHub. 2023年4月4日閲覧。
  2. ^ Blockly”. Google for Developers. 2023年10月11日閲覧。
  3. ^ Metz, Cade. “Google Blockly Lets You Hack With No Keyboard”. Wired (アメリカ英語). ISSN 1059-1028. 2024年2月2日閲覧.
  4. ^ Is Blockly related to the programming language Logo?”. groups.google.com. 2024年2月2日閲覧。
  5. ^ Google Blockly - A Graphical Language with a Difference”. www.i-programmer.info. 2024年2月2日閲覧。
  6. ^ Scratch 3.0's new programming blocks, built on Blockly” (英語). 2024年2月2日閲覧。
  7. ^ MIT's App Inventor”. ai2.appinventor.mit.edu. 2024年2月2日閲覧。
  8. ^ Help Translate”. Code.org. 2024年2月2日閲覧。
  9. ^ Microsoft MakeCode Computer Science Education” (英語). Microsoft MakeCode. 2024年2月2日閲覧。
  10. ^ Microsoft MakeCode” (英語). Microsoft Research. 2024年2月2日閲覧。
  11. ^ Blockly for PICAXE - Software - PICAXE”. picaxe.com. 2024年2月2日閲覧。
  12. ^ JS Interpreter”. google.github.io. 2024年2月2日閲覧。
  13. ^ メッセージ群別の翻訳状況 - translatewiki.net”. translatewiki.net. 2024年2月2日閲覧。
  14. ^ RTL”. google.github.io. 2024年2月2日閲覧。

外部リンク

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.