Changeset 2929


Ignore:
Timestamp:
Mar 10, 2013, 5:21:30 PM (5 years ago)
Author:
ksherdy
Message:

Added comments.

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

Legend:

Unmodified
Added
Removed
  • proto/pabloj/trunk/src/test/pabloB/grammar/TestPabloBAST.java

    r2834 r2929  
    11/*
    2  * Ken Herdy
    3  * December 7 2012
    4  *
    5  * Quick and dirty test program to test PabloB grammar/parser.
     2 * Quick and dirty test PabloB test driver program.
    63 *
    7  * Input:       Top-level directory that contains *.pablo (PabloS) files.
    8  * Output:      If no syntax errors then prints AST Else print exception message.
    9  * 
     4 * Recursively traverses directories and parses .pabloB files.
     5 *
     6 * For each .pabloB file if no syntax errors are encountered the AST is output otherwise
     7 * an error message is output.
     8 *
     9 * @author Ken Herdy <ksherdy at sfu dot ca>
     10 * @date December 17 2012
    1011 */
    1112 
  • proto/pabloj/trunk/src/test/pabloS/PabloSTestHarness.java

    r2924 r2929  
    1 //
    2 // This code is modified scatter parser-generator code.
    3 // See applications.SampleCompiler.java.
    4 //
    51
    62package  test.pabloS;
     
    128import pabloS.lexicalAnalyzer.LexicalController;
    139import pabloS.parser.Parser;
    14 // import semanticAnalyzer.SampleSemanticAnalyzer;
    15 // import codeGeneration.CodeGenerator;
    1610
    1711import  pabloS.tokens.Tokens;
  • proto/pabloj/trunk/src/test/pabloS/grammar/TestPabloSAST.java

    r2834 r2929  
    11/*
    2  * Ken Herdy
    3  * December 7 2012
    4  *
    5  * Quick and dirty test program to test PabloS grammar/parser.
     2 * Quick and dirty test PabloB test driver program.
    63 *
    7  * Input:       Top-level directory that contains *.pablo (PabloS) files.
    8  * Output:      If no syntax errors then prints AST Else print exception message.
    9  * 
     4 * Recursively traverses directories and parses .pabloB files.
     5 *
     6 * For each .pabloB file if no syntax errors are encountered the AST is output otherwise
     7 * an error message is output.
     8 *
     9 * @author Ken Herdy <ksherdy at sfu dot ca>
     10 * @date December 17 2012
    1011 */
    1112 
Note: See TracChangeset for help on using the changeset viewer.