Dear all,
I am Hoang, a Vietnamese student at National Economy University. I have deep interests in the field of web technologies such as HTML, JavaScript or CSS and also the Internet of Things subject. I always want to build a visual programming framework for developing physical things’ applications and when I come through the BoneScript, I have an idea for which I hope could gain some interests.
A picture worth hundreds of word so that I just want to show what my idea looks like:
This is a Blockly version of the BoneScript PIR Motion Sensor demo. I think a visual programming toolbox for the BoneScript would be interesting. A similar project has been done for the Arduino: https://github.com/gasolin/BlocklyDuino/wiki
So, that’s my idea and at the end of my project (if accepted to GSoC) would be a web app with a visual programming toolbox that user can use to create BoneScritp application without having to write a line of code.
There will be some challenges:
- We need to define/design new block types that is customized to the BoneScript.
- There seems lack of a Object oriented design for the Blockly so that we need to figure out a proper way.
- Some Javascript functions also need to be “Blockified” such as setInterval
- The design should taken into account support for interacting with capes
- There is a trade off between the block’s details and the flexibility in program design, for example, we could you two blocks: the “set pirPin” and the “pirPin” block to represent the pin “P8_19” or we could design a new block called “pin” that possesses a drop down list to chose the pin from.
And I think with the current number of BoneScript functions (12?), A corresponding BeagleEye toolbox can be done within a summer term.
Thank you for your time reading and please let me know if this is of enough fun