lua-users home
lua-l archive

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


Well I probably misunderstood the question, but what constitutes a “the LuaDoc format in a file” thing?

 

That would be a Lua source code file with annotations… right?

 

Thijs

 

From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of Anders Backman
Sent: zaterdag 21 maart 2015 7:44
To: Lua mailing list
Subject: Re: LuaDoc question

 

Which parses lua code and generate documentation yes.

But what if you already have the LuaDoc format in a file and want to convert that into something human readable? Like HTMP?

 

 

/A

 

On Fri, Mar 20, 2015 at 11:15 PM, Thijs Schreijer <thijs@thijsschreijer.nl> wrote:

Something like ldoc [1] (which is LuaDocs’ successor)

 

Thijs

[1] http://stevedonovan.github.io/ldoc/

 

From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of Anders Backman
Sent: vrijdag 20 maart 2015 19:38
To: lua-l
Subject: LuaDoc question

 

Hi. Probably a stupid newbie question:

 

But assume you have a tool that generates LuaDoc files such as:

 

---------------------------------------------------------------------------------

-- @module physics

 

---

-- @field [parent=#global] #physics physics

 

---------------------------------------------------------------------------------

-- physics

-- @type physics

 

---------------------------------------------------------------------------------

-- CylindricalJointFrame

-- @type physics.CylindricalJointFrame

-- @extends #physics.ConstraintFrame

 

 

etc.

 

Is there a tool that can parse this and generate...html?

 

/Anders

 

 

--

__________________________________________
Anders Backman, HPC2N
90187 Umeå University, Sweden
anders@cs.umu.se http://www.hpc2n.umu.se
Cell: +46-70-392 64 67



 

--

__________________________________________
Anders Backman, HPC2N
90187 Umeå University, Sweden
anders@cs.umu.se http://www.hpc2n.umu.se
Cell: +46-70-392 64 67