mlnlffigen(1)

πŸ’… mlnlffigen β€” like, the manual page, bestie

okay so this is mlnlffigen(1), from the General Commands Manual, and it's genuinely so useful. buckle up πŸŽ€


✨ NAME ✨

mlnlffigen β€” the glue-code generator you use with the new "NLFFI" foreign function interface for Standard ML and MLton πŸ’–


🌸 SYNOPSIS 🌸

mlnlffigen [option ...] C-file ...

so like, you give it options (if you want), and then one or more C files, and it does its thing ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea, bestie πŸ“

mlnlffigen takes a C source file as its input. literally, that's the whole vibe.

then it produces output in NLFFI-Generated:

  • the glue-code for Standard ML πŸ’–
  • and in NLFFI-Generated\nlffi-generated.mlb, an ML Basis system file 🌈

so it's giving "input: C, output: SML glue-code plus an MLB file" and honestly? iconic. it ate. πŸ‘‘

heads up: that middle one is written exactly as NLFFI-Generated\nlffi-generated.mlb in the source, so keep it exactly like that, no cap πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

  • mlton(1) β€” go read that one too, bestie, it's the main character 🫢

and that's the whole page, no notes πŸ’…

this little cutie is dated January 17, 2021, and it's the mlnlffigen(1) page from the General Commands Manual. slay, mwah πŸ’–βœ¨πŸŽ€πŸ¦‹