GIRA / PhysicalBits

A web-based programming environment for educational robotics that supports live coding and autonomy using a hybrid blocks/text programming language.
https://gira.github.io/PhysicalBits/
MIT License
19 stars 5 forks source link

removed google-blockly submodule and files #5

Closed kristiank closed 4 years ago

kristiank commented 4 years ago

This is work in progress to fix #4:

I stumbled upon the folder /web/blockly, is this used for the generator code? As I understood, the pure library code of blockly lies in folder /web/ide/libs/google-blockly/?

RichoM commented 4 years ago

I stumbled upon the folder /web/blockly, is this used for the generator code?

No, the /web folder is a mess right now because it started as a bunch of mostly independent experiments and then we started working on the IDE but didn't want to remove the old code right away until the IDE were completely functional. However, as we move forward with the IDE the old code started to rot and now it's not working anymore. So, we need to clean it.

As I understood, the pure library code of blockly lies in folder /web/ide/libs/google-blockly/?

Yes, exactly. The IDE only uses the files inside the /ide folder, anything else should be removed.

kristiank commented 4 years ago

Hey, I didn't have time to bump Google Blockly to the newest version yet :-). But I now tried re-compiling (e.g. adding Smalltalk at: #Uzi, as instructed in CONTRIBUTING.md) and from all that I can see, it all works fine with dragging the blocks using the old blockly code.

I'll leave this for now, because it seems to work.