This is example of visual programing editor by MameBlock.js.
Notice: all commands and constants need "p."
You can use [Stop] and [Run] button.
Drag & drop block, Click expression for edit code.
Edit blocks and click [Run] for exce demo