I was wondering if you could add support for the Ox language. Ox is a statistical matrix language, a bit like Matlab, with syntax virtually identical (but far more limited) to C++. The key differences are:
1) filenames: programs are *.ox but header files are *.h (does this confuse Zeus)
2) typing is dynamic, variables are declared as decl myVar; so there is no need to say int myVar; or the likes.
Keywords, braces, and all the rest is like C++ so adding this language (and code folding) should be a breeze for a specialist.
I can send some sample code if that is of use. I got Zeus to recognize some of it, but code folding does not work, nor does the class browser. I am assuming it may get confused by the .h files?
Many thanks!
Ox language support
-
- Posts: 1
- Joined: Fri Apr 30, 2010 10:50 am
It should definitely be possible to setup Zeus for the Ox language. Basically all you need to do is create a new document type using the Options, Document Types menu.I was wondering if you could add support for the Ox language.
To have the h header file not detected as a c/c++ file the h file extension would need to be removed from the c/c++ document type and added to the Ox document type. Just edit the c/c++ document type using the Options, Document Types menu.1) filenames: programs are *.ox but header files are *.h (does this confuse Zeus)
To tell which document type a file is using just open the file and then use the Options, Properties menu.
I suspect Zeus could already code fold the Ox languageand code folding should be a breeze for a specialist.

All you need do is edit the xFolder.ini file found in the Zeus install folder and add the Ox file extension to the c/c++ code folder extension, then restart Zeus.
This will make the folder fold Ox files using the same folding rules as c/c++.
To get the class browser to work you just need to setup the ctags for the Ox Language:I got Zeus to recognize some of it, but code folding does not work, nor does the class browser.
http://www.zeusedit.com/forum/viewtopic.php?t=3367
If you have any issues getting any of this to work let me know

Cheers Jussi