Introduced separate PLY parsing for expressions based on wether they result on numbers or D objects. fixes #5 but introduces #6