WIP: nesting syntax is better

span is still dependent to be next neighbour of input which sucks
cleanup