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

		}
Beispiel #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();
        }
Beispiel #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();
        }
Beispiel #5
0
 public void Execute(DependencyTracker tracker)
 {
     this.tracker = tracker;
     StraightLineCondensePass();
     TopologicalSortPass();
 }
Beispiel #6
0
 public static void GenerateDependencyGraph(this DependencyTracker tracker, AssociativeNode t)
 {
     throw new NotImplementedException();
 }