home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d512 / m2pascal.lha / M2Pascal / src / process.def < prev    next >
Text File  |  1991-07-20  |  706b  |  31 lines

  1. DEFINITION MODULE process;
  2.  
  3. (*  
  4.  
  5.  
  6.    by : Greg Mumm
  7.  
  8.  
  9.  
  10.    This is the "guts" of the whole program. The main routine hands
  11.    this module one symbol and it's class and ProcessSymbol takes it 
  12.    from there. 
  13.    The correct output symbol (i.e. pascal) is written to the OutFile
  14.    via the procedure "output".
  15. *)
  16.  
  17.  
  18. FROM  scan          IMPORT   STRING,          SymbolType,
  19.                              IndentArray;
  20.  
  21.  
  22.  (*
  23.     IN  : One symbol and it's class.
  24.     OUT : One or more symbols to "OutFile".
  25.  *)
  26. PROCEDURE ProcessSymbol (        indent      :     IndentArray;
  27.                                  symbol      :     STRING;
  28.                                  SymbolClass :     SymbolType );
  29.  
  30. END process.
  31.