Article View: borland.public.jbuilder.java.language
Article #8619Re: Parsing a string expresion
From: John McGrath TeamB
Date: Mon, 12 Mar 2001 08:00
Date: Mon, 12 Mar 2001 08:00
22 lines
1478 bytes
1478 bytes
On Sun, 11 Mar 2001 11:57:18 -0500, Francisco Correa wrote:
> I want to know how can I parse a string expresion as
> "=2+3" to a Double value using Java 1.3
The parsing can be done with StringTokenizer, but it sounds like you
are also asking for expression evaluation. I know of no classes that
will do that, but there very well be some available somewhere. Here
are a few places you might look to start:
http://www.jars.com/
http://www.gamelan.com/
http://industry.java.sun.com/solutions/
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.151642a03e7b818f98a053@forums.borland.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mailReferences:
<3aaa5c4c_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,b7c8aed305deb19 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-12 00:00:08 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Newsgroups: borland.public.jbuilder.java.language Subject: Re: Parsing a string expresion Date: Mon, 12 Mar 2001 03:00:37 -0500 Organization: Another Netscape Collabra Server User Lines: 22 Message-ID: <MPG.151642a03e7b818f98a053@forums.borland.com> References: <3aaa5c4c_2@dnews> NNTP-Posting-Host: dslcv1-60.fast.net X-Newsreader: MicroPlanet Gravity v2.30