Hoping to add a few platform features to Blockly, beginning with programmatic control of block creation and editing.
Google's Blockly is a web-based, visual programming editor. Users can drag blocks together to build programs. All code is free and open source.
The project page is https://developers.google.com/blockly/