Re: [boost] [transact] transaction language macros (was: Re: [transact] code in sandbox)

Hi, ----- Original Message ----- From: <strasser@uni-bremen.de> To: "vicente.botet" <vicente.botet@wanadoo.fr> Sent: Saturday, March 06, 2010 3:55 PM Subject: Re: [boost] [transact] transaction language macros (was: Re: [transact] code in sandbox)
hi again,
another thing, are you experienced with the various parsing libraries of boost?
No, I have made only some toy examples with Spirit long time ago.
I know that they're not capable of analyzing C++ code, but it seems to me that the code transformation required for our little language extension is fairly simple.
boost has compliant preprocessor, so macros aren't a problem. the most complicated thing would be to detect if a transaction is in a user-loop or not, so the grammar would have to be able to read for/while/... loops and correctly parse c++ scopes. does anything like that already exist?
To do something like that I will use LLVM that gives already this possibility. Of course starting to use LLVM will be not easy, but will open much more possibilities than a specific parsing. Best, Vicente
participants (1)
-
vicente.botet