Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Koneki » Parsing files not commented in luadocs
Parsing files not commented in luadocs [message #1417109] Mon, 24 March 2014 21:52 Go to next message
James Kirkpatrick is currently offline James KirkpatrickFriend
Messages: 2
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 #1417111 is a reply to message #1417109] Wed, 26 March 2014 15:15 Go to previous message
Simon Bernard is currently offline Simon BernardFriend
Messages: 345
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: Sat Apr 20 12:33:27 GMT 2024

Powered by FUDForum. Page generated in 0.04380 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top