[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Boolean sets
From: |
Nicholas Crosbie |
Subject: |
Boolean sets |
Date: |
Tue, 20 Dec 2005 11:26:45 +1100 (EST) |
I would like to set a a Bison project which processes
a an expresssion of the form
gate = r3 AND r5 NOT (r5 OR r7)
i.e. a Boolean expression of arbitrary
length/complexity, where r3, r5 etc. are
variables containing integer data (e.g. an array, or
stored as a set or list).
My prefered option would is to have Bison do the
parsing and call Objective
C or C++ code for set intersection, set union, set
minus. Alternatively, I could
have Bison call C functions for set intersection etc.
Does anyone have any experience with such a
task.....can point me to example
code?
Nick
Send instant messages to your online friends http://au.messenger.yahoo.com
- Boolean sets,
Nicholas Crosbie <=