Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Operation in String to Double conversion Date: Sun, 14 Oct 2012 15:59:23 -0700 Organization: A noiseless patient Spider Lines: 25 Message-ID: References: <3a63483c-4322-4bfb-8c28-2d528bf48443@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 14 Oct 2012 22:59:25 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="24518"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18LVLfdNX942wt/knoHF9PPlSXmVRnrUGg=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 In-Reply-To: Cancel-Lock: sha1:GlpuLqX19p5ZKsSmILT2PR+5ruI= Xref: csiph.com comp.lang.java.programmer:19335 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.