ATDCAT(1)
π¦ ATDCAT(1) π¦ β ok bestie, let's talk ATD files
so this little icon lives in the User Manuals section of the manual pages, and honestly? she's giving utility. her whole thing is checking your ATD files, making them pretty, and doing lil transformations on them. periodt.
β¨ NAME β¨
atdcat β syntax check and transformations of ATD files π
π«Ά SYNOPSIS π«Ά
atdcat [options...] file
π DESCRIPTION π
okay so here's the vibe: atdcat does syntax checking and pretty printing on ATD files. that's the main character energy. β¨
and like, she's not a one-trick pony either β she can also do transformations, for example monomorphization, or flattening of inheritance hierarchies. yes bestie, she does that. π
πΈ OPTIONS πΈ
-xβ make type expressions monomorphic. no more parameters, we're going full concrete π₯-xkβ keep parametrized type definitions and imply-x. heads up: the default is to return only monomorphic type definitions, so this is you saying "no actually, keep the parametrized ones too" π-xdβ debug mode, which implies-x. she's in her debugging era π-iβ expand allinheritstatements. every single one. no survivors π-ifβ expandinheritstatements in records specifically-ivβ expandinheritstatements in sum types</sum> specifically-ml <name>β output the ocaml code of the ATD abstract syntax tree. say name and she'll hand you the OCaml π«-html-docβ replace directly<doc html="...">by(*html ... *)or replace<doc text="...">by(*html ... *)where the contents are formatted as HTML using<p>,<code>and<pre>. this is suitable input forcaml2html -ext html:cat, which converts ATD files into HTML. cute docs, slay πβ¨-strip NAME1[,NAME2,...]β remove all annotations of the form<NAME1 ...>,<NAME2 ...>, etc. bye bye annotations π-strip-allβ remove all annotations. every last one. nothing is safe π§Ή-versionβ print the version and exit. quick lil flex π-help|--helpβ print options and exit. when you're lost, she's got you π«Ά
π SEE ALSO π
- The ATD manual,
/usr/share/doc/libatd-ocaml-dev/atd-manual.{html,pdf} - The ATD referande,
http://mjambon.com/atdgen/atdgen-manual.html
π AUTHOR π
This manual page was written by Sylvain Le Gall <gildor@debian.org> and Hendrik Tews <hendrik@askra.de>, specifically for the Debian project (and may be used by others). legends, honestly π
okay and for the cute sign-off: this whole thing is filed under ATDCAT, dated May 2013, and answers to ATDCAT(1). that's the tea, bestie β go check your ATD files ππΈπ¦
π¦ where this page comes from
- debian bookworm: libatd-ocaml-dev 2.10.0-2+b3 Β· BSD-3-Clause
- debian trixie: libatd-ocaml-dev 2.16.0-2+b1 Β· BSD-3-Clause
- ubuntu jammy: libatd-ocaml-dev 2.2.1-1build2 Β· BSD-3-Clause
- ubuntu noble: libatd-ocaml-dev 2.15.0-1 Β· BSD-3-Clause
- ubuntu questing: libatd-ocaml-dev 2.16.0-2build2
- ubuntu resolute: libatd-ocaml-dev 3.0.1-1build1 Β· BSD-3-Clause
- ubuntu stonking: libatd-ocaml-dev 4.2.0-2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms