ml-ulex1
A unicode-compatible lexical analyser generator for standard ml
Usage
ml-ulex [OPTIONS]
file
Overview
ML-Ulex is a lexer generator that supports Unicode characters (in UTF-8 representation) and an extended form of regular expressions.
Options
-
-32 -
run the 32-bit version of the program (currently the default).
-
-64 -
run the 64-bit version of the program. This option only applies to the
x86-64(akaamd64) architecture.
-
--dot -
generate DOT output ( <http://www.graphviz.org>). The generated file will be named
file.dot, wherefileis the input file.
-
--match -
enter interactive matching mode. This will allow interactive testing of the machine; presently, only the
INITIALstart state is available for testing (see the User Guide <http://www.smlnj.org/doc/ml-lpt/manual.pdf> for details on start states).
-
--ml-lex-mode -
operate in
ml-lexcompatibility mode.
-
--table-based -
generate a table-based lexer.
-
--fn-based -
generate a lexer that represents states as functions and transitions as tail calls.
-
--minimize -
generate a minimal machine. Note that this is slow, and is almost never necessary.
-
--strict-sml -
generate strict SML (i.e., do not use SML/NJ extensions). This flag is useful if you want to use the output with a different SML system.
Copying
Copyright © 2020 The Fellowship of SML/NJ
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Releases
7 releases since Debian 7 (Wheezy); the text changed 3 times.
--fn-based since Debian 9 (Stretch);
--minimize since Debian 9 (Stretch);
--strict-sml since Debian 9 (Stretch);
--table-based since Debian 9 (Stretch);
-32 since Arch Linux 2026-11-01;
-64 since Arch Linux 2026-11-01.