I don't know how sohphisticated you want to get, but definately take a look at boost:spirit before making your final decision. Personally, with a scripting language, I find it best to implement an existing one. Lua is very straightforward and boost::python may be a way to go as well.

-Chris

On 8/12/06, Shams <shams@orcon.net.nz> wrote:
Hi,
 
I want to simple scripting in my application, something like.
 
IF window_title equals Firefox or window_title equals InternetExplorer
    open_kiosk()
 
    IF
        // nest if
    END_IF
END_IF
 
 
In this case I want to match the rule "window_title" and a parameter to that
rule and upon seeing the text open_kiosk() I want to execute the real
function.
 
What would be the best boost libraries to use to achieve something like this?
 
I am thinking of going with spirit and a combination of boost.regex or boost.xpressive.
 
Thanks
Shams
 

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users