lua-users home
lua-l archive

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


Hello all!

Some time ago, in some conversation was stated it would be nice to have
tool that automatically places LDoc comments before function definitions.

Recently I've reworked my lua code parser and made such tool (in about
three hours).

https://github.com/martin-eden/autoldoc

(GPL3, requires Lua5.3, probably GNU/Linux)

Sample usage:
  git clone https://github.com/martin-eden/autoldoc
  cd autoldoc
  lua autoldoc.lua test.1.lua test.1.lua.ld

Currently it's proof-of-concept but if community interested, it may be
developed further to update existing LDoc comments.

-- Martin

Attachment: 0xB91B958F.asc
Description: application/pgp-keys