The idea is really interesting, but it's hard to properly plan ahead since you can't see ahead. I think an interesting idea would be if you could make notes (like adding symbols next to an input) as the inputs are executed, so that you slowly but surely can craft as efficient of a run as possible.