Contributor
Gajendra Tanwar

Google blockly integration to catrobat project


Mentors
Matthias Mueller, Wolfgang Slany
Organization
Catrobat

Google Blockly is a library for building visual programming editors.It is increasingly being used as a platform for visual programming languages such as Scratch 3.0, AppInventor, and code.org.

Current Situation: Catrobat bricks used in scripts that are manipulated in the IDE part of Catroid and Catroweb, all use our own visualizer.

Proposal: We want to use the Scratch variant of Blockly to display Catrobat scripts and bricks in a webview.we will follow a two-step implementation process with fixed primary goals in each step.

1: The passive script preview on the sharing platform of Catrobat (Catroweb) will use Blockly instead of the current code base. One important issue that needs to be addressed is to use the correctly translated strings (localization, including for right to left languages such as Arabic).

2: This visualization of bricks shall also be used in a review in Catroid as an alternative way to display scripts and blocks, on an infinite virtual plane. it will be possible to switch back and forth between the read-only Blockly view and our current view of the scripts.

Extended goal: ability to keep the important Blockly code for repeatedly indefinitely use in the future.