Renamed parse to analyse and implemented dependency pass