myatscc(1)
β¨ myatscc β the manual page, but make it cute β¨
okay bestie, welcome to myatscc(1), a general commands manual page π this is the glow-up of a totally normal Unix manpage and I'm obsessed with it. no cap, by the end you'll be compiling ATS like it's nothing π¦
πΈ NAME πΈ
myatscc β Simple ATS2 compiler frontend π
π SYNOPSIS π
myatscc [options] files...
β¨ DESCRIPTION β¨
okay so listen π«Ά myatscc is a frontend, and its whole entire job is to make compiling ATS source code way less of a struggle. she's giving helpful older sister energy, fr fr.
the way that she works is: you hand her any .dats file on the command-line, and she attempts to figure out the necessary flags to compile it all by herself. no you-doing-mental-flag-math required π she just gets it.
and here's the iconic part π there's a special comment-based syntax for telling the myatscc frontend what options you want. you literally write those comments directly into the source file that's gonna be compiled. the code tells on itself, iykyk π§
π OPTIONS π
--dryβ she shows you the commands thatmyatsccwould generate, without actually running them. window shopping for shell commands, so valid β¨--gcβ for use of the Boehm garbage collector formalloc. yes, the Boehm gc, she's iconic in her own way π--helpβ show usage information. the classic "help me bestie" flag, never fails π
π EXAMPLES π
so whatever you need for compiling foo.dats? it should be written as some form of comment inside foo.dats itself. putting it in the file, not in your terminal history like a gremlin. love that for us π
for instance, this following comment is assumed to be the default (like, if nothing is given explicitly):
(*
##myatsccdef=
patscc -D_GNU_SOURCE -DATS_MEMALLOC_LIBC -o $fname($1) $1
*)
then on the command line, the file may be compiled with:
myatscc foo.dats
and that's it. that's the whole vibe check and it passed β
π SEE ALSO π
these programs are documented fully by The ATS2/Postiats user's manual, available via the web at http://www.ats-lang.org/ π go read it, it's giving thorough.
π AUTHOR π
myatscc was written by Hongwei Xi. π«Ά
this manual page was written by Matthew Danish <mrd@debian.org>, for the Debian project (and may be used by others). slay, honestly π
aaaand that's the whole page, bestie!! π this was myatscc(1) from the General Commands Manual, dated July 30, 2018 β screenshot it, bookmark it, tattoo it, whatever, just go compile something cute π₯πβ¨
π¦ where this page comes from
- debian bookworm: ats2-lang 0.4.2-1.1 Β· GPL-3.0-only
- debian trixie: ats2-lang 0.4.2-3 Β· GPL-3.0-only
- ubuntu jammy: ats2-lang 0.4.2-1 Β· GPL-3.0-only
- ubuntu noble: ats2-lang 0.4.2-1.1 Β· GPL-3.0-only
- ubuntu questing: ats2-lang 0.4.2-3
- ubuntu resolute: ats2-lang 0.4.2-5 Β· GPL-3.0-only
- ubuntu stonking: ats2-lang 0.4.2-6 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms