Ignore:
Timestamp:
Mar 19, 2013, 4:48:22 PM (6 years ago)
Author:
ksherdy
Message:

Code clean up and comments.

Location:
proto/pabloj/trunk/src/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/pabloj/trunk/src/test/PabloApplication.java

    r2834 r2947  
    1 //
    2 // This code is modified scatter parser-generator code.
    3 // See applications.SampleApplication.java.
    4 //
     1/*
     2 * Basic test harness.
     3 * This code is modified scatter parser-generator code.
     4 * See applications.SampleApplication.java.
     5 *
     6 * @author Ken Herdy <ksherdy at sfu dot ca>
     7 */
     8
    59package test;
    610
  • proto/pabloj/trunk/src/test/pabloS/PabloSTestHarness.java

    r2929 r2947  
    1313import  pabloS.logging.ScatterLogger;
    1414
    15 import compiler.lang.carry.CarrySetBuiltins2CPP;
    16 import compiler.lang.carry.CarrySetBuiltins2Lang;
    17 import compiler.lang.idisa.*;
    18 import compiler.lang.pabloS.Builtins2CPP;
     15import compiler.test.*;
     16import compiler.lang.carry.CarryBuiltins2CPP;
     17import compiler.lang.carry.CarryBuiltins2Lang;
     18import compiler.lang.pabloS.PabloSBuiltins2CPP;
    1919import compiler.lang.pabloS.Builtins2Lang;
    20 import compiler.test.*;
     20import compiler.lang.pabloS.Builtins;
     21
    2122import compiler.transformers.pabloS.AdvanceCombinerXFormer;
    2223import compiler.transformers.pabloS.AugAssignXFormer;
     
    207208                Map<String, ASTNode> streamFuncMap = streamFuncVisitor.makeStreamFuncMap();
    208209               
    209                 Builtins2Lang builtins2CPP = new Builtins2CPP();
     210                Builtins2Lang builtins2CPP = new PabloSBuiltins2CPP();
    210211               
    211212                for (Map.Entry<String, ASTNode> entry : streamFuncMap.entrySet()) {     
    212213                        ASTNode value = entry.getValue();                               
    213                         CarrySetBuiltins2Lang carrySet2CPP = new CarrySetBuiltins2CPP();
     214                        CarryBuiltins2Lang carrySet2CPP = new CarryBuiltins2CPP();
    214215                        CarryIntroXFormer pablo2CarryQ = new CarryIntroXFormer(value, builtins2CPP, carrySet2CPP);
    215216                        pablo2CarryQ.XForm(isFinalBlock);
Note: See TracChangeset for help on using the changeset viewer.