On 10/14/2012 2:08 PM, William Lopes wrote:
>
> Thank you, using the your keywords I achieved to find a that can help me.
>
> See: http://www.objecthunter.net/tinybo/blog/articles/86
>
> Ps.: I didn't still tested it.
I don't think I much care for that site you link too. Too many spelling
mistakes ("i" and "java") for me to take it seriously.
Parsers aren't hard to write, and often they're used as example in
introductory texts. The C++ Programming Language by Bjarne Stroustrup,
for example, has a complete parser early in the text. Likewise Learning
Java published by O'Reilly whips up a quick algebraic parser for a demo
spreadsheet program.
Is this for a class or something? Usually if you need to evaluate
expressions there's a library that does that for you. It's really kind
of rare to need to do your own.