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
at 

http://lua-users.org/wiki/LpegRecipes


On Sat,  8 Nov 2008 23:40:36 -0500 (EST), "Norman Ramsey"
<nr@cs.tufts.edu> 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
  toreason@fastmail.fm

-- 
http://www.fastmail.fm - mmm... Fastmail...