[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua indentation
- From: David Manura <dm.lua@...>
- Date: Sat, 24 May 2008 03:53:04 +0000 (UTC)
James Porter writes:
> KHMan wrote:
> > Bertrand Mansion wrote:
> >> Is there a lua snippet that can "beautify" lua source code, especially
> >> indentation?
> >> This one <http://lua-users.org/wiki/SciteIndentation> doesn't work well,
> >> it's missing a lot of things code snippets within multiline comments for
> >> example.
Another simple one: http://lua-users.org/wiki/SourceCodeFormatter . There are
also various Lua lexers and parsers one can base something like this on:
http://lua-users.org/wiki/LuaGrammar . I agree that reformatting comment
contents (lacking any standard grammar for them) is not a well-defined problem.