예제 #1
0
 public static void GenerateDependencyGraph(this DependencyTracker tracker, List <AssociativeNode> ast)
 {
     foreach (AssociativeNode t in ast)
     {
         GenerateDependencyGraph(tracker, t);
     }
 }
예제 #2
0
	    public void Execute(DependencyTracker tracker)
		{
			this.tracker = tracker;
			StraightLineCondensePass();	
			TopologicalSortPass();

		}
예제 #3
0
        public DependencyTracker Analyse(LanguageCodeBlock cb, ProtoCore.CompileTime.Context ct)
        {
            //@TODO: Replace this with a parser

            //For now, assume that the code block is

            //a = 1..1000..+1
            //b = SQRT(a)
            //c = a * 2
            //d =
            //{
            //		FromPoint(a<1>, b<2>, c<3>)
            //}

            //This will give us an AST representation

            DependencyTracker tracker = new DependencyTracker();

            throw new NotImplementedException();
        }
예제 #4
0
        public DependencyTracker Analyse(LanguageCodeBlock cb, ProtoCore.CompileTime.Context ct)
        {
            //@TODO: Replace this with a parser

            //For now, assume that the code block is

            //a = 1..1000..+1
            //b = SQRT(a)
            //c = a * 2
            //d =
            //{
            //		FromPoint(a<1>, b<2>, c<3>)
            //}


            //This will give us an AST representation

            DependencyTracker tracker = new DependencyTracker();

            throw new NotImplementedException();
        }
예제 #5
0
 public void Execute(DependencyTracker tracker)
 {
     this.tracker = tracker;
     StraightLineCondensePass();
     TopologicalSortPass();
 }
예제 #6
0
 public static void GenerateDependencyGraph(this DependencyTracker tracker, AssociativeNode t)
 {
     throw new NotImplementedException();
 }