25 Dec
2009
25 Dec
'09
3:21 p.m.
On Fri, Dec 25, 2009 at 7:10 AM,
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?