sensebox / React-Ardublockly

This repository contains the new senseBox learn- and programming environment powered by google Blockly and React
Apache License 2.0
2 stars 7 forks source link

replace special characters in variable names with underscores #360

Closed PaulaScharf closed 6 days ago

PaulaScharf commented 6 days ago

355

replaces all special characters with underscores and underscores with double underscores. Slightly problematic, because if the user declares for example a variable test*test and another variable test&test both of these will be translated to test_test in the code, so it will throw a redeclaration error. I added an ErrorSuggestion for that...