Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Koneki » Parsing files not commented in luadocs(Request for information)
Parsing files not commented in luadocs [message #1276635] Mon, 24 March 2014 17:14 Go to next message
James Kirkpatrick is currently offline James Kirkpatrick
Messages: 1
Registered: March 2014
Junior Member
I am working on a codebase that has been documented using metatags different from luadocs. I am considering the possibility of modifying LDT's source code to deal with this. Where would I get started from? I cannot find a high level architectural description of the source code, basically I am wondering if there is a centralised bit of code somewhere that parses the source code, and if so where is it?

Thanks a lot for any suggestions and for releasing a great tool!

James
Re: Parsing files not commented in luadocs [message #1277867 is a reply to message #1276635] Wed, 26 March 2014 11:15 Go to previous message
Simon Bernard is currently offline Simon Bernard
Messages: 164
Registered: July 2009
Senior Member
Maybe this should be simple to create a tool which will be able to translate your documentation language in Luadocumentor language.

But if you want to modify LDT, you could have a look to this post:
http://www.eclipse.org/forums/index.php/t/631824/

In your case, you should principally have a look to the comment parser "ldparser" :
http://git.eclipse.org/c/koneki/org.eclipse.koneki.ldt.git/tree/libraries/modelsbuilder/models/ldparser.lua
https://wiki.eclipse.org/Koneki/LDT/Developer_Area/Lua_Comment_Model

and the apimodelbuilder which use ldparser result to create the model of the api of a module :
http://git.eclipse.org/c/koneki/org.eclipse.koneki.ldt.git/tree/libraries/modelsbuilder/models/apimodel.lua
http://git.eclipse.org/c/koneki/org.eclipse.koneki.ldt.git/tree/libraries/modelsbuilder/models/apimodelbuilder.lua
https://wiki.eclipse.org/Koneki/LDT/Developer_Area/Lua_API_Model_2
Previous Topic:[LDT 1.0] load a module written in Java
Next Topic:How to document inherit relation
Goto Forum:
  


Current Time: Fri Aug 01 12:13:54 EDT 2014

Powered by FUDForum. Page generated in 0.12556 seconds