MOSMLLEX(1)

NAME
mosmllex - Moscow ML lexer generator

SYNOPSIS
mosmllex FILE

DESCRIPTION

Given a set of regular expressions with attached semantic actions mosmllex produces a lexical analyser in the style of lex.

If FILE is lexer.lex containing a specification of a lexical analyser then mosmllex lexer.lex produces a file lexer.sml containing Moscow ML code for the lexical analyser. This file defines one lexing function per entry point in the lexer definition. These functions have the same names as the entry points. Lexing functions take as argument a lexer buffer, and return the semantic attribute of the corresponding entry point.

For more information consult the online manuals.

AUTHOR
Compiled by Henning Niss from the various Moscow ML documents written by Sergei Romanenko, Claudio Russo, and Peter Sestoft.

SEE ALSO
mosml(1), mosmlc(1), mosmlyac(1)

The full documentation for mosmllex and the other Moscow ML tools can be found in the online manuals in /usr/share/doc/mosml/manual.pdf.gz (`Moscow ML Owner's Manual') and /usr/share/doc/mosml/mosmllib.pdf.gz (`Moscow ML Library Documentation').