alle opties
forky  ] [  sid  ]
[ Bron: parse-args  ]

Pakket: tcl-parse-args (0.5.2~git20251214+g94842f5-1)

Verwijzigingen voor tcl-parse-args

Screenshot

Debian bronnen:

Het bronpakket parse-args downloaden:

Beheerder:

Externe bronnen:

Vergelijkbare pakketten:

Advanced argument parsing for Tcl

The commands provided by the Tcl core follow a pattern of optional, named arguments (named with a leading "-" to indicate an option) in addition to positional arguments. They strongly prefer named arguments when the number of arguments and particularly optional arguments grows beyond about 3. Tcl scripts however have no access to standard argument parsing facilities to implement this pattern and have to build their named argument parsing machinery from scratch. This is slow to do in script, error prone, and creates noise in the code that distracts from the core task of the command implementation. This means that script-defined commands generally present half-baked argument handling APIs and tend to over-use positional arguments.

This package aims to address this weakness by providing a robust argument parsing mechanism to script code that can implement the full set of patterns established by the core Tcl commands, is terse and readable to specify the arguments, and is fast enough to use in any situation.

Andere aan tcl-parse-args gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

tcl-parse-args downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
amd64 23,8 kB83,0 kB [overzicht]
arm64 23,3 kB163,0 kB [overzicht]
armhf 21,5 kB161,0 kB [overzicht]
i386 23,3 kB89,0 kB [overzicht]
ppc64 (unofficial port) 24,6 kB163,0 kB [overzicht]
ppc64el 25,1 kB163,0 kB [overzicht]
riscv64 23,2 kB71,0 kB [overzicht]
s390x 25,1 kB83,0 kB [overzicht]
sparc64 (unofficial port) 22,8 kB2.084,0 kB [overzicht]