non-boundary-node version of TD parser without node labels done. item __eq__ now takes mapping into account to remove invalid derivations.