Re: Arg decoding with a template?
by Steve Holden other posts by this author
Jul 31 2001 11:56PM messages near this date
Re: Arg decoding with a template?
|
Re: Arg decoding with a template?
"David Bolen" <db3l@[...].com> wrote in message
news:u8zh4u0b6.fsf@[...]..
> Dale Strickland-Clark <dale@[...].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
Thread:
Dale Strickland-Clark
David Bolen
Jim Dennis
Marcin 'Qrczak' Kowalczyk
Chui Tey
David Bolen
Hans-Joachim Widmaier
Hans-Joachim Widmaier
Skip Montanaro
Quinn Dunkan
Dale Strickland-Clark
David Bolen
Steve Holden
David Bolen
Alex Martelli
Dale Strickland-Clark
Dale Strickland-Clark
Skip Montanaro
David Bolen
Peter Wang
Steve Holden
David Bolen
Steve Holden
Skip Montanaro
|