[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua incremental parser
- From: Asko Kauppi <askok@...>
- Date: Fri, 24 Jul 2009 23:23:40 +0300
Also luaSub has a parser for (extendable) Lua. It's done partly in C,
partly in Lua.
May I ask, what is an incremental parser? One that streams stuff s.a.
Lua's own built-in parser does? Or something else?
svn co svn://slugak.dyndns.org/public/2009/luaSub
Luís Eduardo Jason Santos kirjoitti 24.7.2009 kello 16:25:
I need to write a lua-based Parser that can build and repair a Lua
AST for the LuaEclipse project.
Although is relatively easy to create parsers with LPEG, error-
detection and 'online' matching is a pain.
Besides, I am not familiar with all the issues of this particular
problem, so I am looking for examples.
Therefore, I wonder if anyone has ever written an incremental parser
for Lua that I could use as a reference.
Interesting papers on the subject are welcome too.
Thanks in advance!
Luís Eduardo Jason Santos