Re: Parsing/defining getopt style strings

2015-08-17 Thread Michael Treibton
Hi Alfonso, On 17 August 2015 at 15:41, Alfonso Urdaneta wrote: > It wouldn't help with getopt, I thought you were just trying to get command > line args. And you're right, it's C++ so that's probably not good for you. > > http://www.boost.org/doc/libs/1_58_0/doc/html/program_options/tutorial.ht

Re: Parsing/defining getopt style strings

2015-08-17 Thread Alfonso Urdaneta
Hi Michael, On 8/17/15 10:20 AM, Michael Treibton wrote: Thank you for your reply. Boost lib? This is in C, not C++, and if it's the libboost I'm thinking you mean, how would this help me with an implementation of getopt strings in YACC? Indeed, I could just use getopt(), but this is now getti

Re: Parsing/defining getopt style strings

2015-08-17 Thread Michael Treibton
Hi Alfonso, Thank you for your reply. Boost lib? This is in C, not C++, and if it's the libboost I'm thinking you mean, how would this help me with an implementation of getopt strings in YACC? Indeed, I could just use getopt(), but this is now getting off topic. Have I misundertood? Kindly, Mi

Re: Parsing/defining getopt style strings

2015-08-17 Thread Alfonso Urdaneta
Hi Michael. There's a boost lib for what you want to do that's probably easier. Alfonso On Monday, August 17, 2015, Michael Treibton wrote: > Hello all, > > I have an existing application which uses a lot of YACC for its > configuration file. In trying to stream-line a lot of options, and > f

Parsing/defining getopt style strings

2015-08-17 Thread Michael Treibton
Hello all, I have an existing application which uses a lot of YACC for its configuration file. In trying to stream-line a lot of options, and for wider changes surrounding the application itself, I'm looking at trying to define something in YACC which would allow to the inclusion of getopt style