- COBOL
- JavaScript
- REXX
- S-Lang
- YACC

I am quite happy to create a new Exuberant Ctags build with regular expressions enable, if there is in fact a need for these languages to be supported

Jussi
I will build the regexp dll version of ctags an set up a download like. Check back here is a day or twoIs this still this way? I don't seem to be able to get COBOL tags working.
Also, a question about COBOL folding. What is the current state of folding support for COBOL?
If you have an example of this PROCEDURE code post it to this code folding forum. But remember, because of the Zeus folding design not all fold points can be implementedOne folding capability that would be useful to me is the ability to fold paragraphs in the PROCEDURE division.
Unfortunately I still have not been able to get the CTAGS build to work with regexp supportAny progress on the COBOL supporting version of CTAGS?
What do I have to do to enable folding support, for COBOL specifically? From previous discussion of COBOL folding, it appears that what I'd like might work already
In general if anyone should find an issue with any of the Zeus code folding modules, posting some code to the folding forum is a good start to getting the folding issue fixed:If not, I'll post some code that will demonstrate what I'm requesting.
Code: Select all
c:\Program Files\Zeus\xfolder.ini
Code: Select all
Cobol=cob
Code: Select all
Cobol=cob;cbl;
Command line options were:
--verbose -f <tag file> <source file list>
Code: Select all
--c-types=+fp --excmd=p --fields=+afmikKlnsSz --sort=no
Are data elements (type d) and group elements (type g) excluded by Zeus?
Code: Select all
Tag_Class
Tag_Enum
Tag_Enumerator
Tag_Function
Tag_Interface
Tag_Macro
Tag_Method
Tag_Package
Tag_Prototype
Tag_Structure
Tag_Typedef
Tag_Variable
Is there a definition of the .ZBD file format available?
If you have a suggesting as to how the ctags information should be map to these tag types for the COBOL language I would be more than happy to implement a new xTags.dll for you to try
I'll send them to you when I get them finalized - I'm still tinkering with getting them working just right.If you like I can also incorporate your cobol.c changes as well to the xtags.exe.
I will implement these tag types in the xTags.dll and send you a copy for testing.According to ctags, for COBOL it outputs the following tag kinds
d - data items - I would map to Tag_Variable
f - file descriptions - I would map to Tag_Interface
g - group items - I would map to Tag_Structure
p - paragraphs - I would map to Tag_Prototypes
P - program ids - I would map to Tag_Package
s - sections - I would map to Tag_Macro
I don't think these labels would work if they where in the document typeI've seen where you can change the labels for these for a workspace - is there a set of labels by document type?
It looks like it's not currently used for anything. It suspect it might have been there in the days of the .ZBD binary file formatI also see there is References label - where does that come in to play? Is it a tag type?