
Dear Simon,
In message CAPnjgZ3THSM=TYvkGQJanmD0SwUzWsmcYWTG=vUaHiqFje3VfQ@mail.gmail.com you wrote:
Well ideally I'd like to avoid Python in this case as it is in the compilation path. I am not sure yet what Wolfgang actually wants, apart from variable names ending with + which I would like to disallow.
So if we can clearly understand the goal, then we might be able to do it in awk, but, again, can we just disallow '+' in var names ?
My goal is to have a parser that does not place new restrictions on an ancient interface. The first step would probably be to define a clear syntax description.
Eventually this would be also more allowing for variations in white space, so that "<name>=<value>" could also be written as "<name> = <value>". ....which in turn would allow for
foo+ = bar vs. foo += bar .
Just my 2ยข...
Best regards,
Wolfgang Denk