QUOTE(Gleeok @ Jul 25 2012, 12:11 AM)
This is looking pretty good. Just curious: are you planning on implementing or defining rules for other programming languages as well? (I suppose C#/Java and C/C++ would be very similar and use most of the same underlying code) -- Including possible support for other scripting languages?
Aye, I've already added code completion for a few languages, to varying degrees of completeness and with varying feature sets. This kind of stuff is great fun to me. There's varying levels of support for C, HTML, Java, JavaScript, JSP, Perl, PHP, and Unix shell. I've written about it on the
project's blog. Besides code completion, there is syntax highlighting support for 30+ languages.
QUOTE
It looks like you had to go through the trouble of parsing the zscript.txt file, which was only ever meant as a reference. We could change the format to something more friendly and standard for other languages (not only for you, but for doxygen etc..) Maybe..:
And funny enough, if there was interest in this kind of thing, one of the things I was going to suggest was a more robust (parsable!) documentation plan. I'm a big fan of Javadoc/JSDoc since they support documentation inline with the code itself and are easily parsable (I've already got working parsers for these). I'm less familar with doxygen but I'm pretty sure it's just a very similar alternative, mostly used with C and C++. If so then that's definitely a route we could take. Right now, for example, I cannot provide documentation for functions/variables defined inline, in the script currently being edited, since there's no standardized way of doing so. If something like doxygen were implemented, I could grab that and display the doc for inline stuff as well as the "core" language constructs.
I was impressed with the documentation in zscript.txt, etc. - thorough, and (almost!) parsable out-of-the-box; I only had to make a few tweaks here and there. Usually fan-based projects struggle with documentation. For the short term, when RC4 comes out I was planning on just diffing the RC3 doc files with the RC4 ones and making sure my parsable versions had all the newly-added stuff.
I've got more updates arriving shortly, and promise to get the source up into an SVN repository soon. Unfortunately, an OS X version of the demo is on hiatus for now. My Macbook died and alas, I have no replacement for now. Once I find a cheap used one for sale I can put that up as well. If there are any Linux users I could happy provide a Linux demo, though that would be little more than a shell script and some jars.