Implement simple version of parsing shared vars