ML-ULEX(1)

πŸ“¦
version 110.79 Β· 2 versions
, in debian bookworm, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– ML-ULEX(1) πŸ’–

okay bestie, pull up a chair because we're talking about ml-ulex, section 1 of your manual pages β€” the Unicode-compatible lexical analyser generator, and yes she is that girl. ✨


🌸 NAME 🌸

ml-ulex β€” a Unicode-compatible lexical analyser generator πŸ¦‹


✨ SYNOPSIS ✨

ml-ulex [OPTIONS] file

πŸ’… DESCRIPTION πŸ’…

So like, ml-ulex is a lexer generator, right? But not a boring one. She supports Unicode characters (in UTF-8 representation, obvi πŸ’) and an extended form of regular expressions. It's giving main character energy, fr fr.


πŸŽ€ OPTIONS πŸŽ€

  • --dot β€” generate DOT output (http://www.graphviz.org). The generated file will be named file.dot, where file is the input file. cute lil graph moment πŸ“Š
  • --match β€” enter interactive matching mode. This lets you test the machine interactively, lowkey so fun. presently, only the INITIAL start state is available for testing (see the User Guide for details on start states). not all states get to come to the party, sorry babes πŸ™ˆ
  • --ml-lex-mode β€” operate in ml-lex compatibility mode. she's versatile like that πŸ’…
  • --table-based β€” generate a table-based lexer.
  • --fn-based β€” generate a lexer that represents states as functions and transitions as tail calls. functional girlie behavior, we love to see it πŸ”₯
  • --minimize β€” generate a minimal machine. Note that this is slow, and is almost never necessary. like, she ate but at what cost 😭
  • --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. being inclusive of other SML systems, we stan 🫢

πŸ‘‘ AUTHOR πŸ‘‘

ml-ulex(1) was written by Aaron Turon. iconic, no cap ⭐


πŸ’œ COPYING πŸ’œ

Copyright Β© 2014 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.

bestie the caps lock on NO is not a vibe, it's a legal warning. she's free but she's not promising you anything. 😭

🌈 SEE-ALSO 🌈

  • ml-antlr(1)
  • The SML/NJ Language Processing Tools: User Guide.
  • Regular-expression derivatives reexamined by Scott Owens, John Reppy, and Aaron Turon. Journal of Functional Programming, 19(2):173-190, 2009.

and that's the whole page, bestie!! πŸŽ€ this beauty ships as part of SML/NJ 110.79, dated 10/04/2015 β€” so go forth and lex, you gorgeous genius πŸ¦‹πŸ’–βœ¨ periodt.

πŸ“¦ where this page comes from