6
votes

Attribute-based Command Line Parsing
The Delphi Geek
– Oh, command line parsing, the old enemy of mine! In ye olden days, when I was learning Pascal, I did some programming on VAX/VMS systems, where you could (and should) leave the job of command line parsing to the DCL – the command line interpreter (something like CMD.EXE on Windows). You just wrote a definition file (see example on the right, found on the web) and DCL did the rest. Since those days I hated that I have to parse command line programmatically. Sure, there were parsing libraries – and I wrote few of them myself – but I was never happy with them. There was always too much code to ...
Statistics
|
Visits by Source |
User Actions |