ml-burg(1)
π ml-burg(1) β General Commands Manual π
okay bestie, gather round, we're doing a tree parser generator today and honestly? it's giving compiler-core, it's giving main character energy π³β¨
πΈ NAME πΈ
ml-burg β a tree parser generator for Standard ML π
β¨ SYNOPSIS β¨
ml-burg file.burg
like, that's it. one file in. that's the whole vibe check. π¦
π DESCRIPTION π
so this page is a brief little rundown of the ml-burg command, okay? and not me exposing the lore but β this manual page was written for the Debian distribution specifically because the original program literally does not have a manual page. no cap. someone had to do it and it was Debian. π
Here's the tea on what ml-burg actually does π:
The ml-burg program generates a Standard ML program whose whole job is to perform bottom-up rewriting of an input tree. Cost information associated with each rewrite rule is used to derive the minimum rewrite cost for the entire tree. A successful reduction corresponds to rewriting the input tree to a special non-terminal symbol called the start non-terminal β. And once you've successfully reduced? bestie, facilities are provided to walk the tree emitting semantic actions corresponding to the rules that matched. iconic behaviour, honestly π
lowkey the whole pipeline: rewrite rules + costs in, minimal-cost reduction out. slay.
And when ml-burg is presented with file.burg, the file file.sml is generated. that's the transformation. in goes .burg, out comes .sml. periodt. π
π SEE ALSO π
go read your siblings, besties, they're all part of the family:
These programs are documented fully by The ML-Burg -- Documentation, by Florent Guillaume and Lal George π«Ά β and you can find it right here:
/usr/share/doc/smlnj-doc/ml-burg_manual.pdf.gz
fr fr, if you want the deep lore, that PDF is the deep lore. πβ¨
π AUTHOR π
This manual page was written by Aaron Matthew Read <amread@nyx.net>, for the Debian GNU/Linux system (but may be used by others). we love a generous king π«Άπ
and that's the whole page, bestie!! written back on November 14, 2002, from the General Commands Manual, and yeah it's the ml-burg(1) source you just read π
mwah, go compile something gorgeous πβ¨π¦
π¦ where this page comes from
- debian bookworm: ml-burg 110.79-8
- ubuntu jammy: ml-burg 110.79-6
- ubuntu noble: ml-burg 110.79-8build1
- ubuntu resolute: ml-burg 110.79-8build1
- ubuntu stonking: ml-burg 110.79-8build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms