|
|
#1 |
|
User
|
vjassdoc is a simple program written in C++ which generates an HTML API documentation by parsing Jass or vJass code.
License GPLv2 Requirements
Current version 0.3 Components:
Download All releases can be found on this website. Source code Additionally you're able to get the latest code version by using SVN: svn co https://vjasssdk.svn.sourceforge.net...sssdk/vjassdoc. Information Since I wanted to get some more experience with C++ I decided to write a documentation generation program. It's quite easy to use. Just type "./vjassdoc --help" (on UNIX systems) to see all available commands. Note that this is still a beta version and the database creation and addition mode is not really useful yet. For compilation you'll need make and cmake. Just type "cmake ." or "cmake -G "Make file type" ." to generate all make files. By typing "make" and "make install" you'll compile and install the program. Since I am not a Windows user there will probably be some bugs. Just report them to me, please and I will fix everything. SQLite3 is required for the database creation. The program is able to create SQLite databases with all parsed objects. It also supports documentation comments (/// Bla or /** Bla */) and some corresponding keywords like @param or @author etc. The program uses gettext for internationalisation. Supported languages are English, German and Macedonian (unfortunately just some strings :-(). If you want to help to translate the program into other languages please contact me. Since version 0.3 there's a simple GUI KDE 4 implementation, too for users who do not like using the command line. Note that this GUI application isn't stable and really useful, yet. Last edited by Barade : 11-29-2009 at 08:51 PM. Reason: Revised attachments. |
|
|
|
| Sponsored Links - Login to hide this ad! |
|
|
|
|
#2 |
|
Free Software Terrorist
Technical Director
|
I'd suggest you to include an example of code and the generated documentation so people understand what this does.
__________________I'll take a look later, when I have enough time to compile and install the dependencies. |
|
|
|
|
|
#3 |
|
User
Join Date: May 2008
Posts: 80
|
I can NOT open the tar archives under windows with 7zip! Other tar archives like Drupal modules are no problem. Later i'll try under my arch linux, but you should fix it.
Btw you should think of a better picture for this. It's not really good to autogenerate a logo that has nothing to do with the tool with ~5 clicks in gimp. |
|
|
|
|
|
#4 |
|
Free Software Terrorist
Technical Director
|
1) You are not supposed to open those if you are in windows (unless you want to compile it for some reason?)
__________________2) They are not just tar, they are tar.bz2 , I think you'll first have to extract the bz2 and then the tar part... Linux decompressors generally do that, seems 7zip doesn't. |
|
|
|
|
|
#6 |
|
User
|
Isn't there an exception for tools?
__________________I think I've read that you can link to everything. @C2H3NaO2: Don't you like the picture? Of course it is an auto generated one but I really like it and I don't think there will be any problems if I use it further on. And of course you can try to make a nicer one :-). At the moment I am working on the database creation optimization. Maybe I will add some options to exclude some kinds of objects from parsing (like comments which aren't really necessary most times). Some time ago I've start working on an RPM and ebuild file for Linux users but I won't finish it until I'll get some more time. The package generation implementation of KDevelop 3 isn't that good :-/ and there is still no cmake support (coming with KDevPlatform) which makes it more difficult for me to use it. |
|
|
|
|
|
#7 | |
|
User
Join Date: May 2008
Posts: 80
|
[quote=Vexorian]1) You are not supposed to open those if you are in windows (unless you want to compile it for some reason?)[quote]
Yes I want to compile it. There is no binary of the last version. And with cygwin it would be pretty easy (i hope). And I am also interested into the code. Quote:
|
|
|
|
|
|
|
#8 | |
|
|
Quote:
Last edited by Rising_Dusk : 02-12-2009 at 05:47 PM. |
|
|
|
|
|
|
#9 |
|
User
|
Uploaded version 0.2.3 which contains many changes and bug fixes.
__________________Options --private and --textmacros are available now. |
|
|
|
|
|
#10 |
|
Lackadaisically Absent.
Respected User
|
Pardon me, but can you explain what the hell this does–in layman's terms?
__________________ |
|
|
|
|
|
#11 |
|
It feels good
Join Date: Mar 2006
Posts: 1,263
![]() ![]()
|
I couldn't be arsed to compile it, but if this is like any documentation generator, what it does is that it generates a document based on a jass file that contatins an object/function reference, much in the vein of the JASS API docs, albeit much simpler in form. Generally JASS systemas aren't that large to require one, but somoen might like it.
__________________ |
|
|
|
|
|
#12 |
|
User
|
Click me. Just an example of a big API documentation.
__________________In the next version you'll be able to use the SQLITE flag for using the database mode because many people do not need it, I think. Besides I am working on documentation comments like @struct <structname> for all Jass/vJass objects. If you want to check out the latest version you should be able now to use svn co https://vjasssdk.svn.sourceforge.net...sssdk/vjassdoc. Last edited by Barade : 04-04-2009 at 01:51 PM. |
|
|
|
|
|
#13 |
|
Free Software Terrorist
Technical Director
|
Tried testing but seems to be only extracting comments and library names and the fact the script uses integer and string.
__________________that's the sort of thing extracted from a file like: libxecollider.j:The source code page could use some highlighting or at least a <pre> tag so it has correct indentation. |
|
|
|
|
|
#14 |
|
Free Software Terrorist
Technical Director
|
Barade, did you try that script? I wouldn't like to graveyard this as it is probably a good idea.
__________________ |
|
|
|
|
|
#15 |
|
User
|
Oh sorry, I didn't read this until today. I will test it now and edit my results.
__________________At the moment I am working on modules and implementation support :-/ and of course a better value detection for things like super.method() or thistype.method(). edit: Hmm, I think the program needs a better operator support. It seems like it does not support operators with two tokens like method operator bla. Only method operator[]. I tried it with ./vjassdoc -dhpa --dir output --files test.j and it detected the struct xecollider, the library xecollider, the methods create, doInit, forgetTarget, setTargetPoint, setTargetPointLoc, terminate and timerLoop and some members correctly but it also detected some members which aren't members like this.csize which is at line 127 (the first line of an operator method :-/). When I added the --private option it still seemed to be correctly (without that member bug). edit2: Okay, I fixed that operator bug but I still have to test it with your script and to change some things before I'll release version 0.2.4. Remember that you can use my svn repository to check out the newest version by using svn co https://vjasssdk.svn.sourceforge.net...sssdk/vjassdoc. Last edited by Barade : 04-17-2009 at 07:55 PM. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
|
Donate |