home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Moscow ML 1.42 / src / lex / Grammar.sig < prev    next >
Encoding:
Text File  |  1997-08-18  |  406 b   |  29 lines  |  [TEXT/Moml]

  1. local
  2. in
  3. datatype token =
  4.     Tident of string
  5.   | Tchar of char
  6.   | Tstring of string
  7.   | Taction of Syntax.location
  8.   | Trule
  9.   | Tparse
  10.   | Tand
  11.   | Tequal
  12.   | Tend
  13.   | Tor
  14.   | Tunderscore
  15.   | Teof
  16.   | Tlbracket
  17.   | Trbracket
  18.   | Tstar
  19.   | Tmaybe
  20.   | Tplus
  21.   | Tlparen
  22.   | Trparen
  23.   | Tcaret
  24.   | Tdash
  25. end;
  26.  
  27. val lexer_definition :
  28.   (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Syntax.lexer_definition;
  29.