parse variable definitions