more implementation on dynamic syntax tree parser