i need a source code compute logical expressions in lex/yacc

D

deltaa5

Hi.
i need a source code compute logical expressions in lex/yacc.
for Example:
(20>5) or (6<=6)--->true
(1<=2) and (3==1) --->false.
 
J

Jim Langston

deltaa5 said:
Hi.
i need a source code compute logical expressions in lex/yacc.
for Example:
(20>5) or (6<=6)--->true
(1<=2) and (3==1) --->false.

I don't think C++ would be the best choice for this, but if you must use C++
there are interpreter plug ins for it, mostly for game scripts. I forget
the name though :/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top