Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
Evaluation of an expression
A Kumar
Ranch Hand
Posts: 980
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi all,
I want a suggestion regarding this problem.
The user can enter an expression in the textbox..
At the server side I have to evaluate whether the expression entered by the
user is a valid expression....(infix/postfix/prefix)
Can u suggest me a solution for this..how should i go about this problem.
Thanks in advance.
ARKumar
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Seems to me that is essentially the problem solved by a compiler so
you should
look for tutorials on compiler writing. To give you a start, you will need some way to recognize/distinguish between operators and operands.
Bill
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Regular Expression
Questions of Javascript Regular Expression
Anything wrong this regular expression
expression language is all in all
Jasper Reports - Commons Digester Problem
More...