acpl(1)
π acpl β a whole manual page, bestie
okay so welcome to acpl(1), straight out of the Scotch user's manual. yes, the Scotch. no, not the drink (sadly). it's giving compiler energy and honestly? iconic. π
β¨ NAME β¨
acpl β compile a target architectures π¦
(yes the original really does say "a target architectures". we respect the grammar choices of the elders. periodt.)
πΈ SYNOPSIS πΈ
acpl [options] [itfile] [otfile]
π DESCRIPTION π
so here's the tea, bestie: acpl takes a decomposition-defined target architecture file β that's itfile, and its type is 'deco 0' β and compiles it into a compiled decomposition-defined target architecture of type 'deco 1', which gets stored in otfile. glow up from 'deco 0' to 'deco 1', fr fr. β¨
and what does "compiling" even mean here? it means computing the distance matrix of all possible subdomains, using the distance matrix of all terminal subdomains that was handed to you in the 'deco 0' format. that's the whole vibe. π§
π now the part you actually need to hear: this computation happens internally every single time a'deco 0'format gets read, and it's quadratic in time. so if you're out here repeatedly computing mappings on a large decomposition-defined'deco 0'target architecture, you are lowkey wasting time over and over. pre-compiling it withacplonce? that's the main character move. it saves you time. π«Ά
compressed files, bestie!! when the proper libraries were included at compile time, acpl can directly handle compressed files β both as input and output. a stream gets treated as compressed whenever its name is postfixed with a compressed file extension, like in 'brol.tgt.bz2' or '-.gz'. the compression formats that can be supported are:
- the bzip2 format β
'.bz2' - the gzip format β
'.gz' - the lzma format β
'.lzma'
and WHY should you care about compression? because decomposition-defined target architecture files have a size that is quadratic in the number of target vertices β blame the distance matrix structures, they're dramatic π β so storing them compressed may save you a lot of space. especially for compiled target architecture files. so much space. obsessed. π
π OPTIONS π
-hβ display some help. that's it. that's the flag. π-Vβ display program version and copyright. serve the receipts, king. π
π EXAMPLE π
okay so imagine you wanna create a compiled cube-connected-cycle target architecture of dimension 4, and save it under the gzip(1) format to file 'ccc4c.tgt.gz'. πΈ
the dash '-' standard file name is doing the lord's work here: it means the 'deco 0' target architecture description produced by amk_ccc(1) gets read from the standard input, through the pipe. piping? we love to see it. π§
$ amk_ccc 4 | acpl - ccc4c.tgt.gz
look at that. one line. iconic. no cap. β¨
π₯ SEE ALSO π₯
amk_grf(1), amk_ccc(1), atst(1), dgmap(1), gmap(1), gmtst(1).
Scotch user's manual.
π¦ AUTHOR π¦
Francois Pellegrini <francois.pellegrini@labri.fr>
and that's the whole page bestie, you absolutely ate π β¨
drop your thanks to the Scotch user's manual, version vibes from 16 June 2026, filed under acpl(1) β mwah, go compile something gorgeous. ππ
π¦ where this page comes from
- arch rolling: scotch 7.0.17-1 Β· CECILL-C
- nixpkgs unstable: scotch 7.0.12
- ubuntu stonking: scotch 7.0.15-4ubuntu1 Β· CeCILL-C
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms