Velocity Reviews - Computer Hardware Reviews

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

Thread Tools

boolean expression evaluator - source code?

Posts: n/a

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 --
DefendTek --
Page 2 Stage --
Enemy Nations --
me --
Barbie Science Fair --
Hillary Clinton --
(yes I have lots of links)

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- 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
Posts: n/a
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?

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

Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See for The Java Glossary.
Reply With Quote

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