Original author(s) | Neil Fraser, Quynh Neutron, Ellen Spertus, Mark Friedman |
---|---|
Developer(s) | Google, MIT |
Initial release | May 2012 |
Stable release | Q1 2021
/ 25 March 2021[1] |
Repository | github |
Written in | JavaScript |
Operating system | Android, iOS |
Platform | Web browser |
Size | 150 KB |
Available in | 50 languages |
List of languages English | |
Type | Library |
License | Apache 2.0 |
Website | developers |
Blockly is a client-side library for the programming language JavaScript for creating block-based visual programming languages (VPLs) and editors. A project of Google, it is free and open-source software released under the Apache License 2.0.[2] It typically runs in a web browser, and visually resembles the language Scratch. It is also being implemented for the mobile operating systems Android and iOS, though not all of its browser-based features will be available on those platforms.
Blockly uses visual blocks that link together to make writing code easier, and can generate code in JavaScript, Lua, Dart, Python, or PHP. It can also be customized to generate code in any textual programming language.[3]
Blockly development began in summer 2011. The first public release was in May 2012 at Maker Faire. Blockly was originally designed as a replacement for OpenBlocks in App Inventor.[4] Neil Fraser began the project with Quynh Neutron, Ellen Spertus, and Mark Friedman as contributors.
The default graphical user interface (GUI) of the Blockly editor consists of a toolbox, which holds available blocks, and where a user can select blocks, and a workspace, where a user can drag and drop and rearrange blocks. The workspace also includes, by default, zoom icons, and a trashcan to delete blocks.[5] The editor can be modified easily to customize and limit the available editing features and blocks.
Blockly includes a set of visual blocks for common operations, and can be customized by adding more blocks. New blocks require a block definition and a generator. The definition describes the block's appearance (user interface) and the generator describes the block's translation to executable code. Definitions and generators can be written in JavaScript, or using a visual set of blocks, the Block Factory, which allows new blocks to be described using extant visual blocks; the intent is to make creating new blocks easier.
Blockly is used in several notable projects, including:
By: Wikipedia.org
Edited: 2021-06-18 18:12:13
Source: Wikipedia.org