SMLSHARP(1)

πŸ’– NAME πŸ’–

smlsharp β€” the Standard ML compiler that comes with practical extensions πŸ’… iykyk, bestie, this is the whole manual page for it (SMLSHARP, section 1 of the manuals, in case you were wondering πŸŽ€)


✨ SYNOPSIS ✨

smlsharp [options] file ...

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so listen. SML# is a whole new programming language, and it lives in the Standard ML family 🌸 it's being developed over at RIEC β€” that's the Research Institute of Electrical Communication, Tohoku University, no big deal, just the main character institution fr fr πŸ‘‘

the design goal, and this is the iconic part: give you the practically important extensions you actually need in real life, while still keeping compatibility with the Definition of Standard ML. so you get the vibes AND the standards, bestie, we love a both-and situation πŸ’–


πŸ’… OPTIONS πŸ’…

  • --help β€” prints this very message, the one you're reading, the whole menu of what this thing can do 🫢
  • -v β€” verbose mode. she talks more. that's it, that's the option ✨
  • -o <file> β€” puts the output into <file> instead of wherever it would've gone πŸŽ€
  • -c β€” compile only!! do not assemble and link. we're stopping early, we're keeping it cute πŸ“
  • -S β€” compile and assemble, but do not link. one more step than -c, still not the whole journey πŸ¦‹
  • -M β€” makes the dependency for compile πŸ“
  • -MM β€” same dependency-making deal for compile, but it ignores system files πŸ™ˆ
  • -Ml β€” makes the dependency for link πŸ”—
  • -MMl β€” dependency for link, but again, system files get ignored πŸ’€
  • -fsyntax-only β€” checks for syntax errors and then exits. vibe check, but for syntax ✨
  • -ftypecheck-only β€” checks for type errors and then exits. vibe check, but for types 🌸
  • -fprint-main-ids β€” prints the main entry identifiers and then exits πŸ‘‘
  • -I <dir> β€” adds <dir> to the file search path πŸ”
  • -L <dir> β€” adds <dir> to the library path of the linker πŸ“š
  • -l <libname> β€” links with <libname> so you can create an executable file πŸ—οΈ
  • -Wl, <args> β€” passes the comma-separated <args> straight through to the linker πŸ’Œ
  • -Wa, <args> β€” passes the comma-separated <args> straight through to the assembler πŸ’Œ
  • -target= <target> β€” sets the target platform to <target> 🌍
  • -nostdpath β€” no standard file search path is used. none. zero. it's giving independent 🚫
  • -d <key>=<value> β€” sets an extra option, and this one is for compiler developers. yeah, the devs get their own little knob πŸ› οΈ

🌈 AUTHOR 🌈

this manual page was written by Nobuhiro Iwamatsu <iwamatsu@debian.org> for the Debian GNU/Linux system β€” but like, other people can use it too, she's not gatekeeping 🫢


and that's the whole page, bestie πŸ’– this is SMLSHARP, from the SMLSHARP manual, dated 24 Jul 2012 β€” yes it's an old icon but she's still serving ✨ mwah, go compile something, ily πŸŽ€πŸ’…

πŸ“¦ where this page comes from