Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > boolean expression evaluator - source code?

Reply
Thread Tools

boolean expression evaluator - source code?

 
 
Anonymous
Guest
Posts: n/a
 
      11-24-2003
Hi;

Does anyone know of any available source code that will do boolean
expression evaluations?

All I need is something that can evaluate things like:
(3 > 4) || true

I already have the variables substituted so it's just the final
expression I need to evaluate.

thanks - dave


Windward Reports -- http://www.WindwardReports.com
DefendTek -- http://www.DefendTek.com
Page 2 Stage -- http://www.Page2Stage.com
Enemy Nations -- http://www.EnemyNations.com
me -- http://dave.thielen.com
Barbie Science Fair -- http://www.BarbieScienceFair.info
Hillary Clinton -- http://www.HillaryIn2004.org
(yes I have lots of links)


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      11-24-2003
On Sun, 23 Nov 2003 17:35:50 -0700, Anonymous <Nobody> wrote or quoted
:

>Does anyone know of any available source code that will do boolean
>expression evaluations?


http://mindprod.com/jgloss/parser.html

And follow the link to JavaCC. They have lots of sample parsers.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Subtle difference between boolean value and boolean comparison? Metre Meter Javascript 7 08-06-2010 08:40 PM
Re: Expression evaluator Andrew Thompson Java 4 12-09-2008 03:36 AM
difference between 'boolean' and 'java.lang.Boolean' J Leonard Java 4 01-19-2008 02:56 AM
JavaScript interpreter/evaluator class? None Java 1 08-31-2004 05:27 AM
Any XPath Evaluator out there based on SAX??? Hyden Zeng XML 0 12-08-2003 08:21 AM



Advertisments