Changes between Version 21 and Version 22 of Things To Do


Ignore:
Timestamp:
05/18/10 09:25:45 (16 years ago)
Author:
Stephen Siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Things To Do

    v21 v22  
    4545
    4646Some libraries add state: shared state and process global state.  How do manage this?
     47
     48When a library is included into a model, it may add shared variables to the model.  When it is attached to a process it may add process-global variables.
     49
     50Define class Library, LibraryFunction.
     51
     52attachToModel(ModelIF);
     53attachToProcess(ProcessIF);
     54
     55in ModelIF, ProcessIF, etc.: getFunctionWithName("fprintf") will return the function if it has been added.
     56
     57FunctionIF: boolean field: isSystemFunction.   If true, function does not have body (locations).  Instead, a special class will be loaded to execute this function's transformation of the state when it is invoked.
     58
     59add module library, submodule of model.
     60also add system level function definition in semantics, next to Executor.