lua-users home
lua-l archive

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


Sorry for the top post ( my BlackBerry phone doesn't do online comments very well)

An option to NOT discard the comments (or perhaps a secondary api call?) ‎sounds like a great little 'tweak' to the core library that would provide a desirable benefit. How much effort would that so called 'little tweak' be (just curious, not volunteering)?

Russ

Sent from my BlackBerry 10 smartphone on the Virgin Mobile network.
  Original Message  
From: Luiz Henrique de Figueiredo
Sent: Saturday, June 10, 2017 4:14 AM
To: lua-l@lists.lua.org
Reply To: Lua mailing list
Subject: Lua code formatters and beautifiers

To complement the discussion on code style, what Lua code formatters and
beautifiers are available and which ones do you recommend?

The wiki has one but not a list:
http://lua-users.org/wiki/SourceCodeFormatter

I wish my ltokenp could be used for that but it discards comments
because it uses the lexer from the Lua core library.