[prev in list] [next in list] [prev in thread] [next in thread]
List: python-list
Subject: Re: Arg decoding with a template?
From: "Steve Holden" <sholden () holdenweb ! com>
Date: 2001-07-31 23:56:24
[Download RAW message or body]
"David Bolen" <db3l@fitlinxx.com> wrote in message
news:u8zh4u0b6.fsf@ctwd0143.fitlinxx.com...
> Dale Strickland-Clark <dale@riverhall.NOSPAMco.uk> writes:
>
> > I guess what I had in mind was a simple but effective equivelent
> > that I used to use with BCPL. A function called rdargs, which I
> > think also became part of AmigaDOS
>
> If you do get a moment to point to any reference or just write up a
> quick summary, I'm sure there would be some implementation suggestions
> available.
>
> Presumably any parsing template still has to deal with issues such as
> flagging options (optional pieces) versus standard arguments,
> delimiters and quoting them, etc... But there's obviously also
> multiple ways to make choices about each of those issues.
>
Dale:
Was this the one that allowed to you define command lines like
COPY FROM <file> TO <file>
and variations could be deduced from the noise words? I seem to remember a
college chum of mine working in BCPL with a scheme like this, circa 1978,
but have only this fading memory.
what-was-i-saying-ly y'rs - steve
--
http://www.holdenweb.com/
\-----------------------------------------------------------------------/
--
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic