My proposition is to make coding blocks in trach menu. There will be tabs for example:
-logic(if, while, until, forever, repeat <count> times, and, or, nand, nor, etc)
-actions(go to<location>, pick, put, etc)
-variables
-math
-sensors(narest [tree] location, narest [battery low robot] location, etc)
And so on.
[Option] - dropdown menu
<> - input
Wish that will help ;)