mlyacc(1)

πŸ“¦
version 20241230+git20251029 Β· 2 versions
, in arch rolling, nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

πŸ’– mlyacc(1) β€” the girlies' guide to a parser generator πŸ’–

General Commands Manual energy, but make it a group chat 🫢


✨ NAME ✨

mlyacc β€” a parser generator for use with Standard ML and MLton πŸ‘‘


🌸 SYNOPSIS 🌸

mlyacc foo.grm

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so bestie, here's the tea β˜• β€” mlyacc takes a parser specification called foo.grm as its input, and it gives you back a parser written in SML. like, it literally writes the parser for you. main character energy fr fr πŸ’…

and where does it put this little gift? not in your DMs, that's for sure. it drops the output into two files:

  • foo.grm.sig
  • foo.grm.sml

two files, one parser, no cap ✨

if you wanna know all the deets on the parser specification itself β€” like what you're even allowed to put in that .grm file β€” go read the ML-Yacc User's Manual, which is chillin' at:

/usr/share/doc/mlton/mlyacc.pdf

ngl you should probably read it. it's giving required reading πŸ“–πŸ’–


🌈 SEE ALSO 🌈


bestie reminder: the spec is foo.grm, the outputs are foo.grm.sig and foo.grm.sml. copy them exactly, don't get cute with the names πŸ™ˆ

and that's the whole page, periodt πŸ’… this one's from the General Commands Manual, dated December 30, 2024, and it's the mlyacc(1) page β€” slay, go generate some parsers, ily πŸŽ€πŸ¦‹πŸ’–