🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8576

Re: Parsing a string expresion

#8576
From: Vladimir Patryshev
Date: Wed, 14 Mar 2001 20:35
17 lines
1334 bytes
Well, I would advise to use regular expressions to at least parse the data; but, on the other hand, if your expressions are as simple as the one you show, there is no point, a character by character interpreter would be enough.

Thanks,
Vlad

Francisco Correa wrote:

> Hello
>
> I want to know how can I parse a string expresion as "=2+3" to a Double
> value using Java 1.3
>
> I'd be very thanful in somebody can help me.
>
> Thanks in advance
>
> Francisco Correa
Technical Details
Message-ID: <3AAFD5FA.7FF766F3@borland.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!fu-berlin.de!bolzen.all.de!hirsch.in-berlin.de!news.mind.de!news.boerde.de!bornews.borland.com!not-for-mail
References: <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-14 12:46:03 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!fu-berlin.de!bolzen.all.de!hirsch.in-berlin.de!news.mind.de!news.boerde.de!bornews.borland.com!not-for-mail
From: Vladimir Patryshev <vpatryshev@borland.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: Parsing a string expresion
Date: Wed, 14 Mar 2001 12:35:06 -0800
Organization: Borland
Lines: 18
Message-ID: <3AAFD5FA.7FF766F3@borland.com>
References: <3aaa5c4c_2@dnews>
NNTP-Posting-Host: VLADGX1.inprise.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.72 [en] (WinNT; U)
X-Accept-Language: en,ru,es-AR