working version of parse and display with new data type : a symbol has a type and T and NT have been removed