Over the past week, I worked on getting RoCo's composite code interface working. To do this, I graphically constructed a component that would take input through a Serial port, convert that to a string, and output a signal to a motor based on the contents of that string. I would then try to export it and when it crashed, I would isolate the cause of this behavior and fix it.
In the composite component interface, each of the blocks are custom made and correspond to a component in the library. Since the code snippets for each block that Blockly comes packaged with are no longer relevant, I associated each component block with a list of the used inputs and used outputs. Then, when the workspace is converted to code using blockly, I get a string of the inputs and outputs for each component delimited by characters like underscore or backslash. This limits the names that each component can have. By placing this information in a JSON file instead, delimiters are no longer an issue and parsing will become much easier. I will be focusing on implementing this over the upcoming week.