[C++-sig] Spirit Python bindings

Hans Meine meine at informatik.uni-hamburg.de
Wed May 7 18:02:07 CEST 2008


Am Mittwoch, 07. Mai 2008 17:41:12 schrieb Stefan Seefeld:
> I assume you are talking about boost.spirit here, right ?
>
> Spirit seems to be all about (compile-time) metaprogramming. How can
> that possibly be 'bound' to Python, which is all about runtime ?
>
> Python has its own syntax, it's own support for operator overloading,
> and its own handling of ASTs, which may be useful in constructing DSLs,
> but I doubt that any of this relates to something as C++-frontend heavy
> as Spirit.

But the OP could be interested in pyparsing, which basically is boost::spirit 
in Python.

-- 
Ciao, /  /
     /--/
    /  / ANS



More information about the Cplusplus-sig mailing list