-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block "units" format. #1
Comments
Haven't had a chance to go through this (and much else) in detail yet, but can't wait to get the time to sit down and put some time into this. With that said, this looks great so far and I'll make sure to provide more feedback when I get the chance. Edit: |
Hi, thanks for all this thoughts. I agree with you about simplicity, but I think the most important is compatibility for future version, without need of an enormous work. For translation it means we do have to create a specific 'mechanism' different from blockly official one. My version is made upon 'code example' of blockly, we decided to keep for compatibility problem... Spanish Bitbloq version modifiy blocks like that : https://github.com/bq/roboblocks For now, I have to prepare my holidays because I leave tomorrow for 2 weeks :-D, sorry I'll let it a little and work on it in august. Thanks a lot, if I can, I'll continue to have a look on your different ideas.. |
Just in case to let you guys know that from today I will be on holiday for a week. I still have access to email (so I'll be able to see responses). Looks like @SebCanet and I will be back at around the same time, so we can then continue looking into this. |
I'm creating this issue to be able to discuss this topic in an easy-to-follow format.
We can then use the wiki to document the current draft of whatever its decided.
@SebCanet has already added a couple of general ideas to the wiki (good point about having to think about the translations):
This is the general format that blocks take in Blockly, which should definitely be followed by the blocks included as part of BlocklDuino itself.
I was thinking about this, and I wanted to share some general thoughts about how I think we should approach the requirements for the format itself .
Do you guys have any other thoughts on main requirements?
So, I although what I'm about to propose does not quite follow the Blockly format, I think it could be a good alternative.
We could have each "block packet" be a folder containing at least 2 files, probably more:
blockly/blocks
directory.blockly/generator/arduino
directory.Now, for this to work we'll need some kind of javascript parser that looks for a general JSON configuration file inside a specific folder (say a folder called
extrablocks
, could be at the root project directory, could be inside the blockly folder). And then have each "block packet" folder inside theextrablocks
directory.Then the folders could be just copied and pasted directly from this repository and only the
extrablocks.json
file would need to be modified. In fact, the a Python script or the arduino_web_server.py current script could be created/modified to automatically generate theextrablocks.json
file.@stevoleeto @SebCanet @gasolin Any thoughts?
The text was updated successfully, but these errors were encountered: