uuagc(1)
π uuagc(1) β the Attribute Grammar compiler, but make it fashion π
okay bestie, listen up β this is the manual page for uuagc(1) from the User Commands section, and honestly? she's iconic. Let's get into it. π¦
β¨ NAME β¨
uuagc β the Attribute Grammar compiler. yes that's the whole name. short, sweet, main character energy. π
πΈ SYNOPSIS πΈ
uuagc [ options ... ] file
that's it. that's the vibe. give her some options and a file and she'll do her thing. π
π DESCRIPTION π
okay so uuagc is the compiler for the (Utrecht University) Attribute Grammar system. periodt.
she takes AG source files (.ag, adorable) as input and hands you back regular Haskell source files (.hs) as output. like, a full glow-up transformation. β¨
Available options: (there are SO many, and we're doing ALL of them, no skipping, I refuse π€)
-mβ generate the default module header--module[=name]β generate a module header, and you get to specify the module name-d,--dataβ generate the data type definition--strictdataβ generate strict data fields (only when data is actually generated, iykyk)--strictwrapβ generate strict wrap fields forWRAPPERgenerated data-c,--catasβ generate catamorphisms-f,--semfunsβ generate semantic functions-s,--signaturesβ generate signatures for semantic functions--newtypesβ use newtypes instead of type synonyms-p,--prettyβ generate a pretty printed list of attributes-w,--wrappersβ generate wappers for semantic domains π (yes, "wappers", that's what it says, we don't make the rules)-r,--renameβ rename data constructors--modcopyβ use the modified copy rule--nestβ use nested tuples--syntaxmacroβ experimental: generate syntax macro code (using knit catas)-o file,--output=fileβ specify the output file-v,--verboseβ verbose error message format-h,-?,--helpβ get usage information-a,--allβ do everything (-dcfsprm) β the overachiever option, love her π«Ά-P search path,--=search pathβ specify seach path--prefix=prefixβ set the prefix for semantic functions--selfβ generate the self attribute--cycleβ check for cyclic definitions π--versionβ get version information-O,--optimizeβ optimize generated code (--visit --case)--visitβ try generating visit functions--seqβ force evaluation using functionseq(visit functions only)--unboxβ use unboxed tuples--caseβ use nested cases instead oflet(visit functions only)--Werrorsβ turn warnings into fatal errors π (she's serious about this one)--dumpgrammarβ dump the internal grammar representation (in generated code)
βοΈ COPYRIGHT βοΈ
okay so legally we have to do this part and honestly the people who made this deserve their flowers π
- Copyright Β© 1998 β 2005 Doaitse Swierstra, Arthur Baars and Alexey Rodriguez
- Copyright Β© 2005 β 2007 Alexey Rodriguez
- Copyright Β© 2005 β 2007 Joost Verhoog
- Copyright Β© 2006 β 2007 Arie Middelkoop
- Copyright Β© 2006 β 2007 Jeroen Fokker
- Copyright Β© 2007 Atze Dijkstra
This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. (no cap, read the fine print bestie, it's important)
You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
π AUTHOR π
This manual page was written by Arjan Oosting <arjanoosting@home.nl> for the Debian system (but may be used by others). slay, Arjan π«Ά
and that's the whole thing, bestie!! you made it to the end, so proud of you π₯Ήβ¨
this was uuagc version 0.9.4, dated April 2007 β yeah she's vintage, but vintage is literally always in. ππ¦π
π¦ where this page comes from
- debian trixie: uuagc 0.9.56-1+b1 Β· BSD-3-Clause
- ubuntu jammy: uuagc 0.9.52.2-3build1.1 Β· BSD-3-Clause
- ubuntu noble: uuagc 0.9.55-1 Β· BSD-3-Clause
- ubuntu questing: uuagc 0.9.56-1
- ubuntu resolute: uuagc 0.9.57-1 Β· BSD-3-Clause
- ubuntu stonking: uuagc 0.9.57-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms