I understand that is also what OpenHAB has to do with their Blocky based Graphical Rule Designer:
https://github.com/cdjackson/openhab-blockly
That is, they had to fork Google’s Blocky code and modify it to make it generate rules for OpenHAB:
https://github.com/openhab/org.openhab.ui.habmin/wiki/Rule-Designer%3A-Building-Blocks