[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Parsing not-quite-standard syntax
I want to write a command with the syntax
command [name] [if exp] [in range] [, opt1 opt2 *]
BUT, the -if exp- and -in range- are to be applied in a -use- statement, so they may involve variables that are not in the dataset in memory. Any suggestions on how I can parse this to get the locals `namelist' `if' `in' `opt1' `opt2' and `options' that would be produced by -syntax-?
* For searches and help try: