lua-users home
lua-l archive

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



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?

	http://luaforge.net/frs/?group_id=311
or:
	svn co svn://slugak.dyndns.org/public/2009/luaSub

- Asko



Luís Eduardo Jason Santos kirjoitti 24.7.2009 kello 16:25:

Hi, folks

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