Changes between Version 32 and Version 33 of Things To Do


Ignore:
Timestamp:
06/04/10 12:25:21 (16 years ago)
Author:
Stephen Siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Things To Do

    v32 v33  
    9292  In the library module, there should be a LibraryLoader class and a LibraryIF.  The LibraryLoader will have a method loadLibrary(String name) that returns a LibraryIF.  The loader should contain information about each of the implemented libraries.  The loadLibrary() method will check for a library with the matching name, return it if available, or throw an exception.
    9393
     94{{{
    9495   public class LibraryLoader {
    9596    LibraryIF loadLibrary(String name);
     
    107108    Map<String, FunctionDeclaration> getSystemFunctions();
    108109   }
     110}}}
    109111
    110    A Program should have information on its included libraries, and have a method to get that information.
    111  
     112A Program should have information on its included libraries, and have a method to get that information.
     113
     114{{{
    112115    List<String> libraries();
    113116
     
    122125
    123126     }
     127}}}
    124128
    125 also add system level function definition in semantics, next to Executor.
     129also add system level function definition in semantics, next to !Executor.
    126130 
    127   If all system functions are part of a library, the execute() method in the executor should be:
     131If all system functions are part of a library, the `execute()` method in the executor should be:
    128132
     133{{{
    129134   void execute(EnvironmentIF environment, InvocationStatementIF statement);
     135}}}
    130136
    131   This method will instantiate the appropriate LibraryExecutor for the SystemFunctionIF, then call a method in that library executor to execute the appropriate function.
     137This method will instantiate the appropriate `LibraryExecutor` for the `SystemFunctionIF`, then call a method in that library executor to execute the appropriate function.
    132138
     139{{{
    133140   public interface LibraryExecutorIF {
    134141    void execute(EnvironmentIF environment, InvocationStatementIF invocation);
    135142
    136143    boolean containsFunction(String name);
    137    }
     144   }
     145}}}