cudf2lp(1)
π NAME π
okay so bestie, meet cudf2lp β it's a preprocessor for CUDF documents. that's the whole vibe. π
π¦ SYNOPSIS π¦
cudf2lp [OPTION]... [FILE]
πΈ DESCRIPTION πΈ
so what does cudf2lp actually do, you ask? it takes a CUDF specification, simplifies it, and turns it into a bunch of facts that are ready to be munched on by an ASP grounder and solver β think gringo(1) and clasp(1), those icons. β¨
it's intended to be called by aspcud(1), but lowkey it can also be used independently, main character energy, it doesn't need a plus-one. π
it reads from the FILE you give it, or from standard input if you omit that part. no file? no problem, it just listens. π«Ά
π OPTIONS π
cudf2lp supports the following options, and yes we're going through every single one, no skipping:
-h,--helpβ print help text. the "hey bestie here's how this works" button. π-v,--versionβ print version and license information. receipts, basically. π§Ύ-V,--verbose[=N]β set the verbosity level toN, or crank it to the max if you omitN. it's giving "tell me everything". π-c CRITS,--criterion=CRITSβ preprocess for specific optimization criteria (defaults to none). the grammar is a whole mood, so here it is in full:
CRITS: none | paranoid | trendy | CRIT\(','CRIT\)*
CRIT : SIGN count(SET) |
| SIGN sum(SET,ATTR)
| SIGN unsat_recommends(SET)
| SIGN aligned(SET,ATTR,ATTR)
| SIGN notuptodate(SET)
SIGN : '+' | '-'
ATTR : CUDF attribute name
SET : solution | changed | new | removed | up | down
| installrequest | upgraderequest | request
and for backwards compatibility, the following aliases can be used β we love a legacy moment, we respect the elders:
new = count(new)
removed = count(removed)
changed = count(changed)
notuptodate = notuptodate(solution)
unsat_recommends = unsat_recommends(solution)
sum(name) = sum(name,solution)
--addallβ disable preprocessing and add all packages. all of them. every last one. π«£
π AUTHOR π
cudf2lp has been written by Roland Kaminski. king behavior, honestly. π
β SEE ALSO β
aspcud(1)gringo(1)clasp(1)- and <http://www.mancoosi.org/cudf/> for the specification of the CUDF format. iykyk, go read it, it's a whole thing. π
and that's a wrap, bestie! π this page is from Version 1.9.6, dated May 01, 2022 β no cap, that's the source and the date, slay. β¨π π¦
π¦ where this page comes from
- alpine 3.24: aspcud-doc 1.9.6-r10 Β· MIT
- debian bookworm: aspcud 1:1.9.6-2 Β· MIT
- debian trixie: aspcud 1:1.9.6-2 Β· MIT
- nixos 26.05: aspcud 1.9.6
- nixpkgs unstable: aspcud 1.9.6
- ubuntu noble: aspcud 1:1.9.6-2 Β· MIT
- ubuntu resolute: aspcud 1:1.9.6-3 Β· MIT
- ubuntu stonking: aspcud 1:1.9.6-3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms