Can someone give me advice about books or other sources about creating command line parsers / tokens in a project? I'd like to learn about it and I'd like to have some good sources.
I suggest the dragon book, it has every aspect of theory ( http://en.wikipedia.org/wiki/Dragon_Book_%28computer_science%29 )
"The C++ Programming Language" contains a section in which a recursive descent parser and a lexer for a calculator are written and explained
Best web resource I've found on teaching yourself about parsing / compilation in general (using recursive descent). The way it approaches the topic makes it really simple, and entertaining to work through, not too heavy. It's about making a compiler, but you can just ignore the parts on emitting code, and make it an interpreter (as per Part 4).
Hello athar, I want to write a parser inside the program , just to translate mathematical operations inside and outside then program and call functions through a simple command line interface. It's not about arguments when calling the program, if that's what you're refering to
The information given above is very useful, even it's a complex issue at least for me, so I'll need some time to learn theses concepts the right way.