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

Discussion in 'C++' started by deltaa5, Jan 2, 2007.

  1. deltaa5

    deltaa5 Guest

    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.
    deltaa5, Jan 2, 2007
    #1
    1. Advertising

  2. deltaa5

    Jim Langston Guest

    "deltaa5" <> wrote in message
    news:...
    > 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 :/
    Jim Langston, Jan 2, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Moonlit

    Best lex/yacc for C++?

    Moonlit, Oct 8, 2003, in forum: C++
    Replies:
    18
    Views:
    1,544
    Moonlit
    Oct 14, 2003
  2. Arthur T. Murray

    Re: Parsing English with lex and yacc

    Arthur T. Murray, Jan 23, 2004, in forum: C++
    Replies:
    5
    Views:
    1,323
    Amnon Meyers
    Jan 26, 2004
  3. Alvaro Puente

    YACC-LEX parsing overflow

    Alvaro Puente, Jul 10, 2003, in forum: C Programming
    Replies:
    1
    Views:
    386
    Chris Dollin
    Jul 10, 2003
  4. deltaa5
    Replies:
    2
    Views:
    361
    Ondra Holub
    Jan 2, 2007
  5. deltaa5
    Replies:
    0
    Views:
    347
    deltaa5
    Jan 2, 2007
Loading...

Share This Page