Boost logo

Boost Users :

Subject: Re: [Boost-users] [Wave] Modifying the way function-like macros are interpreted
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-12-25 10:21:43


On Fri, Dec 25, 2009 at 7:10 AM, <fractured_at_[hidden]> wrote:
> I am trying to use boost::wave as a preprocessor for LSL, a language used in
> the virtual world Second Life.
>
> There is a data type there for collections of data, but it can only be
> accessed through functions such as llList2String(list,iterator); I wanted to
> define macros that would allow me to do something like #define x[y]
> llList2String(x,y), however, wave as it stands does not seem to have any
> immediately obvious way to do this.

Wave is a C++ preprocessor, you are talking about mutating a language
in a way not supported in a C preprocessor type way.

First question must be asked, does LSL use the [ or ] tokens at all at
any time in its grammar?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net