mlyacc(1)
π 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.sigfoo.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 isfoo.grm, the outputs arefoo.grm.sigandfoo.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 ππ¦π
π¦ where this page comes from
- arch rolling: mlton 20241230-1 Β· HPND AND MIT
- nixos 26.05: isabelle 2025-2
- nixos 26.05: mlton 20241230
- nixos 26.05: mlton-HEAD
- nixpkgs unstable: isabelle 2025-2
- nixpkgs unstable: mlton 20241230
- nixpkgs unstable: mlton-HEAD
- ubuntu resolute: mlton-tools 20241230+git20251029+dfsg-5 Β· HPND
- ubuntu stonking: mlton-tools 20241230+git20251029+dfsg-5 Β· HPND
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms