lua-users home
lua-l archive

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

There is a C lexer
with Lpeg

On Sat,  8 Nov 2008 23:40:36 -0500 (EST), "Norman Ramsey"
<> said:
> I've been looking into making some improvements to tolua,
> and it's a mystery to me how the 'cleaned header file' is parsed.
> I'm wondering if anybody has or is working on an LPEG parser for
> C or for a fragment of C.  (I really only need declarations
> and typedefs.)   I tried a search of the mailing list,
> but 'lpeg parser' didn't turn up anything, and 'C' occurs 
> sufficiently frequently not to be useful in a search.
> Hence this appeal :-)
> Norman
  V S P

-- - mmm... Fastmail...