updated symbol grammar to accept a much wider range of values