Efficient Parsing of Data-Flow Graphs