home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / misc / mas / mashelp / masparse.def < prev    next >
Encoding:
Modula Definition  |  1991-03-18  |  469 b   |  24 lines

  1.  
  2. DEFINITION MODULE MASPARSE;
  3.  
  4. (* MAS Parser Definition Module. *)
  5.  
  6. FROM MASSTOR IMPORT LIST;
  7.  
  8.  
  9. PROCEDURE Parse(): LIST;
  10. (*Parse program and generate code. *)
  11.  
  12.                        
  13. PROCEDURE SwitchParse(g: BOOLEAN);
  14. (*Switch parsing between generic / non-generic parse. 
  15. If g = TRUE then the parser generates code for generic names, 
  16. if g = FALSE then the parser generates code for the builtin LISP 
  17. arithmetic functions. *)
  18.  
  19.  
  20. END MASPARSE.
  21.  
  22.  
  23.  
  24.