add Entity attributes to parser
support attributes in compiler