lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Wed, Jan 26, 2011 at 1:59 PM, Henk Boom <> wrote:
>> (*) In case anyone wonders: Yes, this means the FFI library includes
>> a full-blown C parser (actually C99 + GCC/MSVC extensions). It's
>> currently missing a C pre-processor. Some C++ features are supported,
>> too. But complete C++ support is not coming anytime soon. :-)
> I understand that the FFI is tightly integrated, and for good reason,
> but how coupled is the C parser to the rest of luajit? That's a tool
> that could have many uses as part of other programs as well.

FYI, Wesley Smith's LPeg C99 parser may be of interest to you too [1].
 Disclaimer: I haven't tried it.