Code tidy - Logic processors
We should review the implementation of logic processors, and improve them. Notes:
- The tree parser may need updating, but this is probably fine.
- In particular, the input labelling and processing mechanism of delayed parsing of an input vs the entire processors is confusing